public interface SocketManager
| Modifier and Type | Field and Description |
|---|---|
static int |
START_OF_READ_CYCLE_LOAD_BUFFER |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(MFString host,
int port) |
void |
disconnect() |
IMessage |
readNextMessage(int messagesRead) |
void |
send(IMessage message) |
static final int START_OF_READ_CYCLE_LOAD_BUFFER
void connect(MFString host, int port) throws java.io.IOException
java.io.IOExceptionvoid disconnect()
throws java.io.IOException
java.io.IOExceptionvoid send(IMessage message) throws MFException
MFExceptionIMessage readNextMessage(int messagesRead) throws MFException
MFException