Class BioReceiver
- java.lang.Object
- 
- org.apache.catalina.tribes.transport.ReceiverBase
- 
- org.apache.catalina.tribes.transport.bio.BioReceiver
 
 
- 
- All Implemented Interfaces:
- java.lang.Runnable,- ChannelReceiver,- Heartbeat,- ListenCallback,- RxTaskPool.TaskCreator
 
 @Deprecated public class BioReceiver extends ReceiverBase implements java.lang.Runnable Deprecated.This will be removed in Tomcat 10
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.net.ServerSocketserverSocketDeprecated.protected static StringManagersmDeprecated.- 
Fields inherited from class org.apache.catalina.tribes.transport.ReceiverBaseOPTION_DIRECT_BUFFER
 - 
Fields inherited from interface org.apache.catalina.tribes.ChannelReceiverMAX_UDP_SIZE
 
- 
 - 
Constructor SummaryConstructors Constructor Description BioReceiver()Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidbind()Deprecated.AbstractRxTaskcreateRxTask()Deprecated.protected BioReplicationTaskgetReplicationThread()Deprecated.voidlisten()Deprecated.voidrun()Deprecated.voidstart()Deprecated.Start listening for incoming messages on the host/portvoidstop()Deprecated.Stop listening for messages- 
Methods 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 Detail- 
smprotected static final StringManager sm Deprecated.
 - 
serverSocketprotected java.net.ServerSocket serverSocket Deprecated.
 
- 
 - 
Method Detail- 
startpublic void start() throws java.io.IOExceptionDeprecated.Description copied from interface:ChannelReceiverStart listening for incoming messages on the host/port- Specified by:
- startin interface- ChannelReceiver
- Overrides:
- startin class- ReceiverBase
- Throws:
- java.io.IOException- Listen failed
 
 - 
createRxTaskpublic AbstractRxTask createRxTask() Deprecated.- Specified by:
- createRxTaskin interface- RxTaskPool.TaskCreator
 
 - 
getReplicationThreadprotected BioReplicationTask getReplicationThread() Deprecated.
 - 
stoppublic void stop() Deprecated.Description copied from interface:ChannelReceiverStop listening for messages- Specified by:
- stopin interface- ChannelReceiver
- Overrides:
- stopin class- ReceiverBase
 
 - 
bindprotected void bind() throws java.io.IOExceptionDeprecated.- Throws:
- java.io.IOException
 
 - 
runpublic void run() Deprecated.- Specified by:
- runin interface- java.lang.Runnable
 
 - 
listenpublic void listen() throws java.lang.ExceptionDeprecated.- Throws:
- java.lang.Exception
 
 
- 
 
-