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 Summary
Modifier and TypeFieldDescriptionprotected ServerSocket
Deprecated.protected static final StringManager
Deprecated.Fields inherited from class org.apache.catalina.tribes.transport.ReceiverBase
OPTION_DIRECT_BUFFER
Fields inherited from interface org.apache.catalina.tribes.ChannelReceiver
MAX_UDP_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
bind()
Deprecated.Deprecated.protected BioReplicationTask
Deprecated.void
listen()
Deprecated.void
run()
Deprecated.void
start()
Deprecated.Start listening for incoming messages on the host/portvoid
stop()
Deprecated.Stop listening for messagesMethods inherited from class org.apache.catalina.tribes.transport.ReceiverBase
bind, 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
-
sm
Deprecated. -
serverSocket
Deprecated.
-
-
Constructor Details
-
BioReceiver
public BioReceiver()Deprecated.
-
-
Method Details
-
start
Deprecated.Description copied from interface:ChannelReceiver
Start listening for incoming messages on the host/port- Specified by:
start
in interfaceChannelReceiver
- Overrides:
start
in classReceiverBase
- Throws:
IOException
- Listen failed
-
createRxTask
Deprecated.- Specified by:
createRxTask
in interfaceRxTaskPool.TaskCreator
-
getReplicationThread
Deprecated. -
stop
public void stop()Deprecated.Description copied from interface:ChannelReceiver
Stop listening for messages- Specified by:
stop
in interfaceChannelReceiver
- Overrides:
stop
in classReceiverBase
-
bind
Deprecated.- Throws:
IOException
-
run
public void run()Deprecated. -
listen
Deprecated.- Throws:
Exception
-