|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
InfoSapientClient is the interface used to connect with a InfoSapient service. Creation date: (04/07/01 4:20:52 PM)
Method Summary | |
boolean |
connect(java.util.Properties p)
Connect to a BlackMesaService - implementation classes dictate properties needed |
java.rmi.server.ObjID |
getObjID()
Return the java.rmi.server.ObjID used as a unique identifier for this client. |
boolean |
notifyClient(java.lang.String tag,
java.lang.Object data,
java.rmi.server.ObjID src)
Notification from service that a message has been sent from a BlackMesaClient. |
boolean |
send(java.lang.String tag,
java.lang.Object data,
java.rmi.server.ObjID dst)
Notify the service that I wish to send a message to the specified client. |
Method Detail |
public boolean connect(java.util.Properties p) throws java.rmi.RemoteException
Properties
- - the properties object containing
- the server name,
- port (if used),
- BlackMesaService name.public java.rmi.server.ObjID getObjID() throws java.rmi.RemoteException
public boolean notifyClient(java.lang.String tag, java.lang.Object data, java.rmi.server.ObjID src) throws java.io.IOException, java.rmi.RemoteException
tag
- - String representing an arbitrary msg type.Object
- - actual message data. Up to implementing class to decide what to do with it.src
- - ObjID - the ObjID identifier of the sending client.public boolean send(java.lang.String tag, java.lang.Object data, java.rmi.server.ObjID dst) throws java.io.IOException, java.rmi.RemoteException
tag
- - String - the arbitrary message type.data
- - Object - the messagedst
- - ObjID - the id of the destination client.
|
License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |