|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.vattp.data.Suspend
Class to handle the suspension and shutdown messages.
Constructor Summary | |
(package private) |
Suspend(VatTPConnection connection)
Constuct an object to handle the SUSPEND message (which also acts as the shutdown message). |
Method Summary | |
void |
connectionDead(VatTPConnection connection,
Throwable reason)
Handle a dead connection. |
void |
processMessage(byte[] message,
VatTPConnection connection)
Handle incoming Suspend messages |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
Suspend(VatTPConnection connection)
connection
- is the VatTPConnection to work with.Method Detail |
public void connectionDead(VatTPConnection connection, Throwable reason)
connectionDead
in interface MsgHandler
connection
- is the VatTPConnection which died.reason
- is a Throwable which describes why the connection died.public void processMessage(byte[] message, VatTPConnection connection)
processMessage
in interface MsgHandler
message
- is the incoming message.connection
- is the VatTPConnection which died.Msg
,
VatTPConnection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |