public interface ClientTransport extends Transport
Modifier and Type | Method and Description |
---|---|
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) |
close, getAddress, getInetAddress, getLocalPort, getPort, getSSLCertificates, getSSLCipherSuite, getSSLProtocol, isBlockingSocket, isOpen, open, read, read, waitUntilReadyToWrite, write, write
void setAddress(String host)
host
- void setPort(int port)
port
- int write(ByteBuffer buffer) throws IOException
write
in interface Transport
IOException
int write(ByteBuffer buffer, int offset, int length) throws IOException
write
in interface Transport
IOException
int read(ByteBuffer buffer, int offset, int length) throws IOException
read
in interface Transport
IOException
int read(ByteBuffer buffer) throws IOException
read
in interface Transport
IOException
void setSocketFactory(SocketFactory socketFactory)
Copyright © 2000–2022 EPAM Systems. All rights reserved.