public abstract class AbstractDatagramSessionConfig extends AbstractIoSessionConfig implements DatagramSessionConfig
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDatagramSessionConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doSetAll(IoSessionConfig config)
Implement this method to set all transport-specific configuration
properties retrieved from the specified config.
|
protected boolean |
isBroadcastChanged() |
boolean |
isCloseOnPortUnreachable()
If method returns true, it means session should be closed when a
PortUnreachableException occurs. |
protected boolean |
isReceiveBufferSizeChanged() |
protected boolean |
isReuseAddressChanged() |
protected boolean |
isSendBufferSizeChanged() |
protected boolean |
isTrafficClassChanged() |
void |
setCloseOnPortUnreachable(boolean closeOnPortUnreachable)
Sets if the session should be closed if an
PortUnreachableException
occurs. |
getBothIdleTime, getBothIdleTimeInMillis, getIdleTime, getIdleTimeInMillis, getMaxReadBufferSize, getMinReadBufferSize, getReadBufferSize, getReaderIdleTime, getReaderIdleTimeInMillis, getThroughputCalculationInterval, getThroughputCalculationIntervalInMillis, getWriterIdleTime, getWriterIdleTimeInMillis, getWriteTimeout, getWriteTimeoutInMillis, isUseReadOperation, setAll, setBothIdleTime, setIdleTime, setMaxReadBufferSize, setMinReadBufferSize, setReadBufferSize, setReaderIdleTime, setThroughputCalculationInterval, setUseReadOperation, setWriterIdleTime, setWriteTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReceiveBufferSize, getSendBufferSize, getTrafficClass, isBroadcast, isReuseAddress, setBroadcast, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setTrafficClassgetBothIdleTime, getBothIdleTimeInMillis, getIdleTime, getIdleTimeInMillis, getMaxReadBufferSize, getMinReadBufferSize, getReadBufferSize, getReaderIdleTime, getReaderIdleTimeInMillis, getThroughputCalculationInterval, getThroughputCalculationIntervalInMillis, getWriterIdleTime, getWriterIdleTimeInMillis, getWriteTimeout, getWriteTimeoutInMillis, isUseReadOperation, setAll, setBothIdleTime, setIdleTime, setMaxReadBufferSize, setMinReadBufferSize, setReadBufferSize, setReaderIdleTime, setThroughputCalculationInterval, setUseReadOperation, setWriterIdleTime, setWriteTimeoutprotected void doSetAll(IoSessionConfig config)
AbstractIoSessionConfigdoSetAll in class AbstractIoSessionConfigconfig - the IoSessionConfig to setprotected boolean isBroadcastChanged()
protected boolean isReceiveBufferSizeChanged()
protected boolean isReuseAddressChanged()
protected boolean isSendBufferSizeChanged()
protected boolean isTrafficClassChanged()
public boolean isCloseOnPortUnreachable()
PortUnreachableException occurs.isCloseOnPortUnreachable in interface DatagramSessionConfigpublic void setCloseOnPortUnreachable(boolean closeOnPortUnreachable)
PortUnreachableException
occurs.setCloseOnPortUnreachable in interface DatagramSessionConfigcloseOnPortUnreachable - true if we should close if the port is unreachableCopyright © 2004–2016 Apache MINA Project. All rights reserved.