|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClientTransport
Client transport interface. Describes contract of server configuration.
| Method Summary | |
|---|---|
int |
read(ByteBuffer buffer)
|
int |
read(ByteBuffer buffer,
int offset,
int length)
|
void |
setAddress(String host)
Setter for address. |
void |
setPort(int port)
Setter for port. |
void |
setSocketFactory(SocketFactory socketFactory)
|
int |
write(ByteBuffer buffer)
|
int |
write(ByteBuffer buffer,
int offset,
int length)
|
| Methods inherited from interface com.epam.common.transport.Transport |
|---|
close, getAddress, getPort, isBlockingSocket, isOpen, open, read, read, waitUntilReadyToWrite, write, write |
| Method Detail |
|---|
void setAddress(String host)
host - void setPort(int port)
port -
int write(ByteBuffer buffer)
throws IOException
write in interface TransportIOException
int write(ByteBuffer buffer,
int offset,
int length)
throws IOException
write in interface TransportIOException
int read(ByteBuffer buffer,
int offset,
int length)
throws IOException
read in interface TransportIOException
int read(ByteBuffer buffer)
throws IOException
read in interface TransportIOExceptionvoid setSocketFactory(SocketFactory socketFactory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||