All Packages Class Hierarchy This Package Previous Next Index
Class iceberg.iap.mail_cl.Msg2Voice
java.lang.Object
|
+----ninja.rmi.NinjaRemoteObject
|
+----ninja.ispace.iSpaceService
|
+----iceberg.iap.IAP
|
+----iceberg.iap.IAPWithCA
|
+----iceberg.iap.mail_cl.Msg2Voice
- public class Msg2Voice
- extends IAPWithCA
- implements Msg2VoiceIF, RMIConnectorReaderIF, IAPIF, ConnectorMgrIF
Client IAP for outgoing mails. Can be run as an independent
program or as an iSpaceService. When run as an iSpaceService, it
uses a Call Agent for signaling. When run as an independent
program, it uses its own RMI signaling. To run as iSpaceService,
make Msg2Voice extend IAP, and to run as an independent program,
make Msg2Voice extend UnicastRemoteObject.
-
ipBSize
- The input block size
-
Msg2VoiceImpl
- The instance of the Msg2Voice class
-
msgTable
-
-
opBSize
- The output block size
-
Msg2Voice()
-
-
beHungUp(CallAgentIF, EndPointInfo)
- RMI call from CA when remote end hangs up.
-
cleanUp(int, OperatorIF, String)
- Call for terminating the 'operator'
-
createStartConn(int, OperatorIF, InetAddress, int, String)
- Dummy call
-
destroy()
- Extending iSpaceService
-
getBytes(String)
- To be called by the APC service, to fetch the data to be
converted to audio
-
init(iSpaceServiceConfig)
- init - to be called by iSpace
-
init(String, String, String, boolean)
-
-
loadLocalOperator(int, DescrOperator, String, String)
- Call for loading the 'operator'
-
main(String[])
-
-
rejected(String, String)
- RMI call from CA when remote end rejects call.
-
ring(CallAgentIF, String, String, String[])
- The RMI interface for the CA to call on incoming call.
-
SendMsg(String, String, String, String)
- Send given msg stream to 'to_user' after looking up preferred
end-point
ipBSize
public static int ipBSize
- The input block size
opBSize
public static int opBSize
- The output block size
Msg2VoiceImpl
public static Msg2Voice Msg2VoiceImpl
- The instance of the Msg2Voice class
msgTable
public Hashtable msgTable
Msg2Voice
public Msg2Voice() throws RemoteException
SendMsg
public void SendMsg(String data,
String from_user,
String to_user,
String msg_id) throws RemoteException
- Send given msg stream to 'to_user' after looking up preferred
end-point
getBytes
public byte[] getBytes(String msgId) throws RemoteException
- To be called by the APC service, to fetch the data to be
converted to audio
init
public void init(iSpaceServiceConfig config)
- init - to be called by iSpace
- Overrides:
- init in class IAP
destroy
public void destroy()
- Extending iSpaceService
- Overrides:
- destroy in class iSpaceService
main
public static void main(String argv[])
init
public static void init(String simja_host,
String name_server,
String iPoPHost,
boolean withCA)
ring
public RingReply ring(CallAgentIF ca,
String callerID,
String netSpecID,
String others[]) throws RemoteException
- The RMI interface for the CA to call on incoming call. This is
not supposed to be called for the IAP
- Overrides:
- ring in class IAPWithCA
beHungUp
public void beHungUp(CallAgentIF ca,
EndPointInfo info) throws RemoteException
- RMI call from CA when remote end hangs up. This should actually
stop any ongoing processing. But this requires recoding of the
SendMsg routine. Ignore for now.
- Overrides:
- beHungUp in class IAPWithCA
rejected
public void rejected(String calleeAddr,
String pathInfo) throws RemoteException
- RMI call from CA when remote end rejects call. This is not
supposed to be called for this IAP.
- Overrides:
- rejected in class IAPWithCA
loadLocalOperator
public OperatorIF loadLocalOperator(int pathid,
DescrOperator thedescr,
String name,
String callid) throws ClassNotFoundException, IllegalArgumentException, InstantiationException, IllegalAccessException, IOException, RemoteException
- Call for loading the 'operator'
- Overrides:
- loadLocalOperator in class IAPWithCA
createStartConn
public ConnEntry createStartConn(int connType,
OperatorIF opSource,
InetAddress addr,
int port,
String callid) throws RemoteException, IOException
- Dummy call
- Overrides:
- createStartConn in class IAPWithCA
cleanUp
public void cleanUp(int pathid,
OperatorIF op,
String callid) throws RemoteException
- Call for terminating the 'operator'
- Overrides:
- cleanUp in class IAPWithCA
All Packages Class Hierarchy This Package Previous Next Index