|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClientCommunicationInterface
The manager for all threaded client sessions that clients can connect to.
| Method Summary | |
|---|---|
void |
close()
Closes an open client connection. |
InetAddress |
getClientInetAddress()
Gets the address of the client. |
InetAddress |
getServerInetAddress()
Gets the address of the server. |
ServerSocketInterface |
getServerSocket()
Gets the server socket interface associated with the accept of this socket. |
Socket |
getSocket()
Gets socket associated with this communication. |
byte[] |
receiveTransaction()
Reads a transaction from the client. |
void |
sendTransaction(byte[] data)
Sends a transaction to the client. |
| Methods inherited from interface se.entra.phantom.server.SocketNameInterface |
|---|
getClientDNSName, getClientIPAddress |
| Method Detail |
|---|
InetAddress getClientInetAddress()
InetAddress getServerInetAddress()
byte[] receiveTransaction()
throws IOException
IOException
void sendTransaction(byte[] data)
throws IOException
IOExceptionvoid close()
Socket getSocket()
ServerSocketInterface getServerSocket()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||