|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationServer
Remote interface for NotificationServer Session
Method Summary | |
---|---|
Vector |
broadCast(Node sourceNode,
String action,
String date,
Object payload)
This method sends a Notification message to all the RegisteredUsers |
boolean |
isIDRegistered(String targetId)
This method determines whether an ID has been registered already |
Vector |
notifyUser(Node sourceNode,
Node targetNode,
String action,
String date,
Object payload,
String direction)
This method is used to notify a user with a payload |
Vector |
notifyUser(String sourceId,
String targetId,
String action,
String date,
Object payload)
Deprecated. |
Vector |
registerUser(String targetId,
String targetIp,
String targetPort)
This method is used to register a user |
Vector |
unregisterUser(String targetId)
This method is used to un-register a user |
Vector |
unregisterUser(String targetId,
String targetIp,
String targetPort)
Deprecated. |
Method Detail |
---|
Vector registerUser(String targetId, String targetIp, String targetPort) throws ProcessingErrorException, RemoteException
targetId
- StringtargetIp
- StringtargetPort
- String
ProcessingErrorException
- This exception is thrown if processing fails
RemoteException
- This exception is thrown if communication fails during the remote method callVector unregisterUser(String targetId, String targetIp, String targetPort) throws ProcessingErrorException, RemoteException
targetId
- StringtargetIp
- StringtargetPort
- String
ProcessingErrorException
- This exception is thrown if processing fails
RemoteException
- This exception is thrown if communication fails during the remote method callVector unregisterUser(String targetId) throws ProcessingErrorException, RemoteException
targetId
- String
ProcessingErrorException
- This exception is thrown if processing fails
RemoteException
- This exception is thrown if communication fails during the remote method callVector notifyUser(String sourceId, String targetId, String action, String date, Object payload) throws ProcessingErrorException, RemoteException
sourceId
- StringtargetId
- Stringaction
- Stringdate
- Stringpayload
- Object
ProcessingErrorException
- This exception is thrown if processing fails
ValidationException
- This exception is thrown if validation fails
RemoteException
- This exception is thrown if communication fails during the remote method call\Vector notifyUser(Node sourceNode, Node targetNode, String action, String date, Object payload, String direction) throws ProcessingErrorException, RemoteException
sourceNode
- NodetargetNode
- Nodeaction
- Stringdate
- Stringpayload
- Objectdirection
- String
ProcessingErrorException
RemoteException
Vector broadCast(Node sourceNode, String action, String date, Object payload) throws ProcessingErrorException, RemoteException
sourceNode
- Nodeaction
- Stringdate
- Stringpayload
- Object
ProcessingErrorException
RemoteException
boolean isIDRegistered(String targetId) throws ProcessingErrorException, RemoteException
targetId
- String
ProcessingErrorException
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |