public abstract class AbstractSocketSessionConfig extends AbstractIoSessionConfig implements SocketSessionConfig
Constructor and Description |
---|
AbstractSocketSessionConfig() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isKeepAliveChanged() |
protected boolean |
isOobInlineChanged() |
protected boolean |
isReceiveBufferSizeChanged() |
protected boolean |
isReuseAddressChanged() |
protected boolean |
isSendBufferSizeChanged() |
protected boolean |
isSoLingerChanged() |
protected boolean |
isTcpNoDelayChanged() |
protected boolean |
isTrafficClassChanged() |
void |
setAll(IoSessionConfig config)
Sets all configuration properties retrieved from the specified
config . |
getBothIdleTime, getBothIdleTimeInMillis, getIdleTime, getIdleTimeInMillis, getMaxReadBufferSize, getMinReadBufferSize, getReadBufferSize, getReaderIdleTime, getReaderIdleTimeInMillis, getThroughputCalculationInterval, getThroughputCalculationIntervalInMillis, getWriterIdleTime, getWriterIdleTimeInMillis, getWriteTimeout, getWriteTimeoutInMillis, isUseReadOperation, setBothIdleTime, setIdleTime, setMaxReadBufferSize, setMinReadBufferSize, setReadBufferSize, setReaderIdleTime, setThroughputCalculationInterval, setUseReadOperation, setWriterIdleTime, setWriteTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getReceiveBufferSize, getSendBufferSize, getSoLinger, getTrafficClass, isKeepAlive, isOobInline, isReuseAddress, isTcpNoDelay, setKeepAlive, setOobInline, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoLinger, setTcpNoDelay, setTrafficClass
getBothIdleTime, getBothIdleTimeInMillis, getIdleTime, getIdleTimeInMillis, getMaxReadBufferSize, getMinReadBufferSize, getReadBufferSize, getReaderIdleTime, getReaderIdleTimeInMillis, getThroughputCalculationInterval, getThroughputCalculationIntervalInMillis, getWriterIdleTime, getWriterIdleTimeInMillis, getWriteTimeout, getWriteTimeoutInMillis, isUseReadOperation, setBothIdleTime, setIdleTime, setMaxReadBufferSize, setMinReadBufferSize, setReadBufferSize, setReaderIdleTime, setThroughputCalculationInterval, setUseReadOperation, setWriterIdleTime, setWriteTimeout
public void setAll(IoSessionConfig config)
config
.setAll
in interface IoSessionConfig
setAll
in class AbstractIoSessionConfig
config
- The configuration to useprotected boolean isKeepAliveChanged()
true
if and only if the keepAlive
property
has been changed by its setter method. The system call related with
the property is made only when this method returns true
. By
default, this method always returns true
to simplify implementation
of subclasses, but overriding the default behavior is always encouraged.protected boolean isOobInlineChanged()
true
if and only if the oobInline
property
has been changed by its setter method. The system call related with
the property is made only when this method returns true
. By
default, this method always returns true
to simplify implementation
of subclasses, but overriding the default behavior is always encouraged.protected boolean isReceiveBufferSizeChanged()
true
if and only if the receiveBufferSize
property
has been changed by its setter method. The system call related with
the property is made only when this method returns true
. By
default, this method always returns true
to simplify implementation
of subclasses, but overriding the default behavior is always encouraged.protected boolean isReuseAddressChanged()
true
if and only if the reuseAddress
property
has been changed by its setter method. The system call related with
the property is made only when this method returns true
. By
default, this method always returns true
to simplify implementation
of subclasses, but overriding the default behavior is always encouraged.protected boolean isSendBufferSizeChanged()
true
if and only if the sendBufferSize
property
has been changed by its setter method. The system call related with
the property is made only when this method returns true
. By
default, this method always returns true
to simplify implementation
of subclasses, but overriding the default behavior is always encouraged.protected boolean isSoLingerChanged()
true
if and only if the soLinger
property
has been changed by its setter method. The system call related with
the property is made only when this method returns true
. By
default, this method always returns true
to simplify implementation
of subclasses, but overriding the default behavior is always encouraged.protected boolean isTcpNoDelayChanged()
true
if and only if the tcpNoDelay
property
has been changed by its setter method. The system call related with
the property is made only when this method returns true
. By
default, this method always returns true
to simplify implementation
of subclasses, but overriding the default behavior is always encouraged.protected boolean isTrafficClassChanged()
true
if and only if the trafficClass
property
has been changed by its setter method. The system call related with
the property is made only when this method returns true
. By
default, this method always returns true
to simplify implementation
of subclasses, but overriding the default behavior is always encouraged.Copyright © 2004–2025 Apache MINA Project. All rights reserved.