| 
|||||||||
| 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.  | 
 java.util.Map | 
receiveMessage()
Receive the next message from the server.  | 
 void | 
sendMessage(java.util.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(java.util.Map message)
                 throws java.io.IOException
message - (bencode-able) to send
java.io.IOException - on error
java.util.Map receiveMessage()
                             throws java.io.IOException
java.io.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 | ||||||||