-
-
Method Summary
Modifier and Type |
Method |
Description |
void |
close(C connection) |
|
void |
closeReading(C connection) |
|
void |
closeWriting(C connection) |
|
ComConnectionListener<C> |
createConnectionListener(InetSocketAddress address) |
|
static ComConnectionHandler.Default |
Default() |
|
void |
enableSecurity(C connection) |
|
C |
openConnection(InetSocketAddress address) |
|
C |
openConnection(InetSocketAddress hostAddress,
int retries,
Duration retryDelay) |
|
void |
prepareReading(C connection) |
|
void |
prepareWriting(C connection) |
|
void |
read(C connction,
ByteBuffer buffer) |
|
void |
receiveClientIdentifer(C connection,
ByteBuffer buffer) |
|
ComProtocol |
receiveProtocol(C connection,
ComProtocolStringConverter stringConverter) |
|
void |
sendClientIdentifer(C connection,
ComPeerIdentifier peerIdentifier) |
|
void |
sendProtocol(C connection,
ComProtocol protocol,
ComProtocolStringConverter stringConverter) |
|
void |
setClientConnectTimeout(int clientConnectTimeout) |
|
void |
setInactivityTimeout(C connection,
int inactivityTimeout) |
|
void |
write(C connction,
ByteBuffer buffer) |
|
default void |
writeChunk(C connection,
ByteBuffer headerBuffer,
ByteBuffer[] buffers) |
|
-
Method Details
-
-
-
-
void prepareReading(
C connection)
-
void prepareWriting(
C connection)
-
void close(
C connection)
-
void closeReading(
C connection)
-
void closeWriting(
C connection)
-
-
-
-
-
-
void setInactivityTimeout(
C connection,
int inactivityTimeout)
-
void setClientConnectTimeout(int clientConnectTimeout)
-
-
void receiveClientIdentifer(
C connection,
ByteBuffer buffer)
-
void enableSecurity(
C connection)
-