public interface Connector
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Called by protocol when it is closing, and will not send and receive data anymore.
|
java.util.Map<java.lang.String,java.lang.Object> |
receive()
Block until the connection is closed or a valid package is received.
|
void |
send(java.util.Map<java.lang.String,java.lang.Object> data)
Pack and send farcall data
|
void send(java.util.Map<java.lang.String,java.lang.Object> data) throws java.io.IOException
data, - can not be null.java.io.IOExceptionjava.util.Map<java.lang.String,java.lang.Object> receive()
throws java.io.IOException
java.io.IOExceptionvoid close()