|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The interface wich describs the needed functions for a Java client.
| Method Summary | |
void |
disconnect()
Cuts the connection with the server. |
byte[] |
get()
Gets a message from the server.. |
void |
send(byte[] data)
Sends a byte array to the server. |
void |
send(java.lang.String message)
Sends a String message to the server. |
void |
sendCrypted(byte[] data)
Sends an encrypted byte array to the server. |
void |
sendCrypted(java.lang.String message)
Sends an encrypted String message to the server. |
| Method Detail |
public void send(byte[] data)
throws java.io.IOException,
java.lang.NullPointerException
data - The byte array to send.null.
public void send(java.lang.String message)
throws java.io.IOException,
java.lang.NullPointerException
message - The byte array to send.null.
public void sendCrypted(java.lang.String message)
throws java.io.IOException,
java.lang.NullPointerException
message - The message to send.null.
public void sendCrypted(byte[] data)
throws java.io.IOException,
java.lang.NullPointerException
message - The byte array to send.null.
public byte[] get()
throws java.io.IOException
public void disconnect()
throws java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||