|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The SessionListener handles events that occur in this session.
Method Summary | |
void |
bookClosed(SessionEvent e)
Invoked when a book is closed by this client. |
void |
bookOpened(SessionEvent e)
Invoked when a book is opened by this client. |
void |
killClient(SessionEvent e)
Invoked when a terminate message is sent from the server. |
void |
messageReceived(SessionEvent e)
Invoked when a message is sent from the server to this client. |
Method Detail |
public void bookClosed(SessionEvent e)
e
- getName() returns the name of the book that was closed.public void bookOpened(SessionEvent e)
e
- getName() returns the name of the book that was opened.public void killClient(SessionEvent e)
e
- getFlag() returns true
if the server has already cleaned up,
and false
if the client should clean up as quickly as possible.public void messageReceived(SessionEvent e)
e
- getSender() returns the name of the sender and getMsg() returns the message sent.
|
Email JSheet Support | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |