|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the Contract between the ReceiveServer and client.
Method Summary | |
void |
exit()
This method is called when the ReceiveServer terminates. |
void |
receive(Notification n)
This method is called by the ReceiveServer whenever a Notification arrives. |
void |
receive(Sms s)
This method is called by the ReceiveServer whenever a Sms arrives. |
Method Detail |
public void receive(Sms s) throws java.lang.Exception
s
- The sms
Exception,
- Specified by implementor.
java.lang.Exception
public void receive(Notification n) throws java.lang.Exception
n
- The notification
Exception,
- Specified by implementor.
java.lang.Exception
public void exit()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |