Class BioReceiver
java.lang.Object
org.apache.catalina.tribes.transport.ReceiverBase
org.apache.catalina.tribes.transport.bio.BioReceiver
- All Implemented Interfaces:
- Runnable,- ChannelReceiver,- Heartbeat,- ListenCallback,- RxTaskPool.TaskCreator
Deprecated.
This will be removed in Tomcat 10
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected ServerSocketDeprecated.protected static final StringManagerDeprecated.Fields inherited from class org.apache.catalina.tribes.transport.ReceiverBaseOPTION_DIRECT_BUFFERFields inherited from interface org.apache.catalina.tribes.ChannelReceiverMAX_UDP_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidbind()Deprecated.Deprecated.protected BioReplicationTaskDeprecated.voidlisten()Deprecated.voidrun()Deprecated.voidstart()Deprecated.Start listening for incoming messages on the host/portvoidstop()Deprecated.Stop listening for messagesMethods inherited from class org.apache.catalina.tribes.transport.ReceiverBasebind, bindUdp, doListen, getActiveCount, getAddress, getAutoBind, getBind, getChannel, getCompletedTaskCount, getDirect, getExecutor, getHost, getListener, getMaxIdleTime, getMaxTasks, getMaxThreads, getMessageListener, getMinTasks, getMinThreads, getOoBInline, getPoolSize, getPort, getRxBufSize, getSecurePort, getSelectorTimeout, getSoKeepAlive, getSoLingerOn, getSoLingerTime, getSoReuseAddress, getSoTrafficClass, getTaskCount, getTaskPool, getTcpNoDelay, getTimeout, getTxBufSize, getUdpPort, getUdpRxBufSize, getUdpTxBufSize, getUseBufferPool, getWorkerThreadOptions, heartbeat, isDaemon, isListening, messageDataReceived, setAddress, setAutoBind, setBind, setChannel, setDaemon, setDirect, setExecutor, setHost, setListen, setListener, setMaxIdleTime, setMaxTasks, setMaxThreads, setMessageListener, setMinTasks, setMinThreads, setOoBInline, setPool, setPort, setRxBufSize, setSecurePort, setSelectorTimeout, setSoKeepAlive, setSoLingerOn, setSoLingerTime, setSoReuseAddress, setSoTrafficClass, setTcpNoDelay, setTimeout, setTxBufSize, setUdpPort, setUdpRxBufSize, setUdpTxBufSize, setUseBufferPool
- 
Field Details- 
smDeprecated.
- 
serverSocketDeprecated.
 
- 
- 
Constructor Details- 
BioReceiverpublic BioReceiver()Deprecated.
 
- 
- 
Method Details- 
startDeprecated.Description copied from interface:ChannelReceiverStart listening for incoming messages on the host/port- Specified by:
- startin interface- ChannelReceiver
- Overrides:
- startin class- ReceiverBase
- Throws:
- IOException- Listen failed
 
- 
createRxTaskDeprecated.- Specified by:
- createRxTaskin interface- RxTaskPool.TaskCreator
 
- 
getReplicationThreadDeprecated.
- 
stoppublic void stop()Deprecated.Description copied from interface:ChannelReceiverStop listening for messages- Specified by:
- stopin interface- ChannelReceiver
- Overrides:
- stopin class- ReceiverBase
 
- 
bindDeprecated.- Throws:
- IOException
 
- 
runpublic void run()Deprecated.
- 
listenDeprecated.- Throws:
- Exception
 
 
-