Package | Description |
---|---|
org.snf4j.core.session |
Provides classes and interfaces used for session handling.
|
Modifier and Type | Method and Description |
---|---|
DefaultSessionConfig |
DefaultSessionConfig.setDatagramServerSessionNoReopenPeriod(long period)
Configures how long the
DatagramServerHandler should block re-opening of a new session for the
remote peer which session has just been closed. |
DefaultSessionConfig |
DefaultSessionConfig.setEndingAction(EndingAction action)
Sets an action that should be performed by the selector loop after ending of
the associated session.
|
DefaultSessionConfig |
DefaultSessionConfig.setEngineHandshakeTimeout(long timeout)
Configures how long the SNF4J framework should wait for completion of the
handshake phase for engine-driven sessions.
|
DefaultSessionConfig |
DefaultSessionConfig.setIgnorePossiblyIncompleteDatagrams(boolean ignore)
Configures the behavior after receiving possibly incomplete datagrams.
|
DefaultSessionConfig |
DefaultSessionConfig.setMaxInBufferCapacity(int capacity)
Sets the maximum capacity for the session's input buffer.
|
DefaultSessionConfig |
DefaultSessionConfig.setMaxSSLApplicationBufferSizeRatio(int ratio)
Sets the ratio that is used to calculate the maximum size of the SSL
application buffers.
|
DefaultSessionConfig |
DefaultSessionConfig.setMaxSSLNetworkBufferSizeRatio(int ratio)
Sets the ratio that is used to calculate the maximum size of the SSL
network buffers.
|
DefaultSessionConfig |
DefaultSessionConfig.setMaxWriteSpinCount(int count)
Configures the maximum loop count for write operations performed by the
selector loop before returning control to the NIO selector or to other channel ready
for I/O operations.
|
DefaultSessionConfig |
DefaultSessionConfig.setMinInBufferCapacity(int capacity)
Sets the minimum capacity for the session's input buffer.
|
DefaultSessionConfig |
DefaultSessionConfig.setMinOutBufferCapacity(int capacity)
Sets the minimum capacity for the session's output buffer.
|
DefaultSessionConfig |
DefaultSessionConfig.setOptimizeDataCopying(boolean optimize)
Configures if the processing of data should be optimized to reduce data
copying between byte buffers.
|
DefaultSessionConfig |
DefaultSessionConfig.setThroughputCalculationInterval(long interval)
Sets the interval in milliseconds between each throughput calculation.
|
DefaultSessionConfig |
DefaultSessionConfig.setWaitForInboundCloseMessage(boolean waitForCloseMessage)
Configures if the SNF4J framework should wait for the peer's
corresponding close message in situation when the closing was initiated
by calling the
EngineStreamSession.close() or
EngineStreamSession.quickClose() method. |
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.