|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Untamed:
Method Summary | |
void |
connectionDead(VatTPConnection connection,
Throwable reason)
Enabled: Receive notification that the connection is dead. |
void |
processMessage(byte[] message,
VatTPConnection connection)
Enabled: Process an incoming message from the VatTPConnection. |
Method Detail |
public void connectionDead(VatTPConnection connection, Throwable reason)
If an object is registered to handle more than one message type, it will receive one connectionDead notification for each message type for which it is registered.
connection
- The VatTPConnection object which has just died.reason
- is a Throwable which describes why the connection died.public void processMessage(byte[] message, VatTPConnection connection)
message
- is the incoming message. The first byte (message[0])
is the message type (see class Msg). A handler which is registered
for more than one message can use the initial byte to determine what
is the message type of the current message.connection
- is the VatTPConnection object on which the the message
arrived.Msg
,
VatTPConnection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |