JanosVM v0.6.0 Java API Documentation: Interface JSIChannel
|
JanosVM v0.6.0 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A communication channel for sending/receiving JSI messages.
Method Summary | |
void |
disconnect()
Disconnect the channel from its peer. |
byte[] |
recvMessage()
Receive a flattened message from the peer. |
void |
replyMessage(byte[] msg)
Send a reply message to the peer. |
void |
sendMessage(byte[] msg)
Send a message to the peer. |
Method Detail |
public void disconnect()
public void sendMessage(byte[] msg) throws java.io.IOException
msg
- A flattened JSI message.public void replyMessage(byte[] msg) throws java.io.IOException
msg
- A flattened JSI message.public byte[] recvMessage() throws java.io.IOException
|
JanosVM v0.6.0 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |