public interface ISctpSessionConfig extends ISessionConfig
Modifier and Type | Field and Description |
---|---|
static Object |
DEFAULT_CODEC_EXECUTOR_IDENTIFIER
The identifier of the default codec executor.
|
Modifier and Type | Method and Description |
---|---|
ICodecExecutor |
createCodecExecutor(Object identifier)
Creates a new codec executor that should be used for decoding/encoding SCTP
messages that can be identified by the given identifier.
|
Object |
getCodecExecutorIdentifier(com.sun.nio.sctp.MessageInfo msgInfo)
Returns an identifier of the codec executor that should be used for
decoding/encoding SCTP messages that can be identified by the given ancillary
data.
|
int |
getDefaultSctpPayloadProtocolID()
Returns the payload protocol identifier for the SCTP messages sent by the
ISctpSession 's write methods
without specified the msgInfo argument. |
SocketAddress |
getDefaultSctpPeerAddress()
Returns the preferred peer address for the SCTP messages sent by the
ISctpSession 's write methods
without specified the msgInfo argument. |
int |
getDefaultSctpStreamNumber()
Returns the stream number for the SCTP messages sent by the
ISctpSession 's write methods
without specified the msgInfo argument. |
boolean |
getDefaultSctpUnorderedFlag()
Returns the unordered flag for the SCTP messages sent by the
ISctpSession 's write methods
without specified the msgInfo argument. |
alwaysNotifiedBeingInPipeline, createCodecExecutor, createSSLEngine, createSSLEngine, getDatagramServerSessionNoReopenPeriod, getEndingAction, getEngineHandshakeTimeout, getMaxInBufferCapacity, getMaxSSLApplicationBufferSizeRatio, getMaxSSLNetworkBufferSizeRatio, getMaxWriteSpinCount, getMinInBufferCapacity, getMinOutBufferCapacity, getThroughputCalculationInterval, ignorePossiblyIncompleteDatagrams, optimizeDataCopying, waitForInboundCloseMessage
static final Object DEFAULT_CODEC_EXECUTOR_IDENTIFIER
Object getCodecExecutorIdentifier(com.sun.nio.sctp.MessageInfo msgInfo)
ISessionConfig.createCodecExecutor()
) should be used this method should return
the DEFAULT_CODEC_EXECUTOR_IDENTIFIER
value.
If the codec executor identified by the ancillary data has not been created
yet it will be created by createCodecExecutor(Object)
and the
returned identifier will be used as the argument.
msgInfo
- the ancillary data about an SCTP message to be decoded/encodednull
if
decoding and encoding are not required.ICodecExecutor createCodecExecutor(Object identifier)
identifier
- the identifier of the codec executor to createnull
if decoding and encoding are
not required.int getDefaultSctpStreamNumber()
ISctpSession
's write methods
without specified the msgInfo
argument.int getDefaultSctpPayloadProtocolID()
ISctpSession
's write methods
without specified the msgInfo
argument.boolean getDefaultSctpUnorderedFlag()
ISctpSession
's write methods
without specified the msgInfo
argument.SocketAddress getDefaultSctpPeerAddress()
ISctpSession
's write methods
without specified the msgInfo
argument.null
to use the peer primary
addressCopyright © 2017–2022 SNF4J.ORG. All rights reserved.