|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClientMessageService
| Method Summary | |
|---|---|
void |
close()
Drop and closedown the connection with the server. |
Map |
receiveMessage()
Receive the next message from the server. |
void |
sendMessage(Map message)
Send the given message to the server service. |
void |
setMaximumMessageSize(int max_bytes)
Override the default max message size |
| Method Detail |
|---|
void sendMessage(Map message)
throws IOException
message - (bencode-able) to send
IOException - on error
Map receiveMessage()
throws IOException
IOException - on errorvoid close()
void setMaximumMessageSize(int max_bytes)
max_bytes -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||