public interface ClientAdapter
Modifier and Type | Interface and Description |
---|---|
static class |
ClientAdapter.MessageRoute
Define what kind of message this is
|
Modifier and Type | Method and Description |
---|---|
void |
connectionAborted()
Callback when the network connection to FIBS terminated unexpectedly
|
void |
dispatch(int cookie,
java.lang.String s)
Dispatch a received message (line) from FIBS
|
void |
writeSystemMessage(ClientAdapter.MessageRoute route,
java.lang.String s)
Write a message
|
void |
writeSystemMessageln(ClientAdapter.MessageRoute route,
java.lang.String s)
Write a message with an eol at the end
|
void writeSystemMessage(ClientAdapter.MessageRoute route, java.lang.String s)
route
- What kind of message is thiss
- The message to writevoid writeSystemMessageln(ClientAdapter.MessageRoute route, java.lang.String s)
route
- What kind of message is thiss
- The message to writevoid dispatch(int cookie, java.lang.String s)
cookie
- The parsed FIBSMessages
cookies
- The line receivedvoid connectionAborted()