public class SessionConfig extends DefaultSctpSessionConfig
DEFAULT_CODEC_EXECUTOR_IDENTIFIER| Constructor and Description |
|---|
SessionConfig() |
| Modifier and Type | Method and Description |
|---|---|
ICodecExecutor |
createCodecExecutor()
Creates a new codec executor that will be responsible for decoding and
encoding data read/received and written/send in the associated session.
|
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.
|
getDefaultSctpPayloadProtocolID, getDefaultSctpPeerAddress, getDefaultSctpStreamNumber, getDefaultSctpUnorderedFlag, setDefaultSctpPayloadProtocolID, setDefaultSctpPeerAddress, setDefaultSctpStreamNumber, setDefaultSctpUnorderedFlagaddSSLEngineBuilder, alwaysNotifiedBeingInPipeline, createSSLEngine, createSSLEngine, getDatagramServerSessionNoReopenPeriod, getEndingAction, getEngineHandshakeTimeout, getMaxInBufferCapacity, getMaxSSLApplicationBufferSizeRatio, getMaxSSLNetworkBufferSizeRatio, getMaxWriteSpinCount, getMinInBufferCapacity, getMinOutBufferCapacity, getSSLEngineBuilder, getThroughputCalculationInterval, ignorePossiblyIncompleteDatagrams, optimizeDataCopying, removeSSLEngineBuilder, setAlwaysNotifiedBeingInPipeline, setDatagramServerSessionNoReopenPeriod, setEndingAction, setEngineHandshakeTimeout, setIgnorePossiblyIncompleteDatagrams, setMaxInBufferCapacity, setMaxSSLApplicationBufferSizeRatio, setMaxSSLNetworkBufferSizeRatio, setMaxWriteSpinCount, setMinInBufferCapacity, setMinOutBufferCapacity, setOptimizeDataCopying, setThroughputCalculationInterval, setWaitForInboundCloseMessage, waitForInboundCloseMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalwaysNotifiedBeingInPipeline, createSSLEngine, createSSLEngine, getDatagramServerSessionNoReopenPeriod, getEndingAction, getEngineHandshakeTimeout, getMaxInBufferCapacity, getMaxSSLApplicationBufferSizeRatio, getMaxSSLNetworkBufferSizeRatio, getMaxWriteSpinCount, getMinInBufferCapacity, getMinOutBufferCapacity, getThroughputCalculationInterval, ignorePossiblyIncompleteDatagrams, optimizeDataCopying, waitForInboundCloseMessagepublic Object getCodecExecutorIdentifier(com.sun.nio.sctp.MessageInfo msgInfo)
DefaultSctpSessionConfigISessionConfig.createCodecExecutor()) should be used this method should return
the ISctpSessionConfig.DEFAULT_CODEC_EXECUTOR_IDENTIFIER value.
If the codec executor identified by the ancillary data has not been created
yet it will be created by ISctpSessionConfig.createCodecExecutor(Object) and the
returned identifier will be used as the argument.
The default value is ISctpSessionConfig.DEFAULT_CODEC_EXECUTOR_IDENTIFIER
getCodecExecutorIdentifier in interface ISctpSessionConfiggetCodecExecutorIdentifier in class DefaultSctpSessionConfigmsgInfo - the ancillary data about an SCTP message to be decoded/encodednull if
decoding and encoding are not required.public ICodecExecutor createCodecExecutor()
DefaultSessionConfig
The default value is null
createCodecExecutor in interface ISessionConfigcreateCodecExecutor in class DefaultSessionConfignull if decoding and encoding
is not required.public ICodecExecutor createCodecExecutor(Object identifier)
DefaultSctpSessionConfig
The default value is null
createCodecExecutor in interface ISctpSessionConfigcreateCodecExecutor in class DefaultSctpSessionConfigidentifier - the identifier of the codec executor to createnull if decoding and encoding are
not required.Copyright © 2017–2022 SNF4J.ORG. All rights reserved.