public interface INetworkAgent
| Modifier and Type | Method and Description |
|---|---|
void |
read()
Reads Data From Input Stream of Underlying Socket with Packet Size of 1MB.
|
void |
setConnectionListener(IConnectionListener objIConnectionListener)
Sets ConnectionListener.
|
void |
write(byte[] buffer)
Writes data on Output Stream of Underlying Socket.
|
void read()
throws java.lang.InterruptedException,
java.io.IOException
java.lang.InterruptedExceptionjava.io.IOException - Signals that an IO Exception has occurred.void write(byte[] buffer)
throws java.io.IOException
buffer - the buffer to be writtenjava.io.IOException - Signals that an IO Exception has occurred.void setConnectionListener(IConnectionListener objIConnectionListener)
IConnectionListener -