Class ParallelNioSender
java.lang.Object
org.apache.catalina.tribes.transport.AbstractSender
org.apache.catalina.tribes.transport.nio.ParallelNioSender
- All Implemented Interfaces:
DataSender
,MultiPointSender
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Selector
protected final long
protected static final StringManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
connect()
connectvoid
disconnect TODO Implement this org.apache.catalina.tribes.transport.DataSender methodvoid
finalize()
boolean
keepalivevoid
void
sendMessage
(Member[] destination, ChannelMessage msg) Methods inherited from class org.apache.catalina.tribes.transport.AbstractSender
getAddress, getAttempt, getConnectTime, getDestination, getDirectBuffer, getKeepAliveCount, getKeepAliveTime, getMaxRetryAttempts, getOoBInline, getPort, getRequestCount, getRxBufSize, getSoKeepAlive, getSoLingerOn, getSoLingerTime, getSoReuseAddress, getSoTrafficClass, getTcpNoDelay, getThrowOnFailedAck, getTimeout, getTxBufSize, getUdpPort, getUdpRxBufSize, getUdpTxBufSize, isConnected, isUdpBased, setAddress, setAttempt, setConnected, setConnectTime, setDestination, setDirectBuffer, setKeepAliveCount, setKeepAliveTime, setMaxRetryAttempts, setOoBInline, setPort, setRequestCount, setRxBufSize, setSoKeepAlive, setSoLingerOn, setSoLingerTime, setSoReuseAddress, setSoTrafficClass, setTcpNoDelay, setThrowOnFailedAck, setTimeout, setTxBufSize, setUdpBased, setUdpPort, setUdpRxBufSize, setUdpTxBufSize, transferProperties
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.catalina.tribes.transport.DataSender
getConnectTime, getRequestCount, isConnected, setKeepAliveCount, setKeepAliveTime, setRxBufSize, setTimeout, setTxBufSize
Methods inherited from interface org.apache.catalina.tribes.transport.MultiPointSender
setDirectBuffer, setMaxRetryAttempts
-
Field Details
-
sm
-
selectTimeout
protected final long selectTimeout- See Also:
-
selector
-
nioSenders
-
-
Constructor Details
-
ParallelNioSender
- Throws:
IOException
-
-
Method Details
-
sendMessage
- Specified by:
sendMessage
in interfaceMultiPointSender
- Throws:
ChannelException
-
connect
public void connect()Description copied from class:AbstractSender
connect- Specified by:
connect
in interfaceDataSender
- Specified by:
connect
in classAbstractSender
-
add
- Specified by:
add
in interfaceMultiPointSender
-
remove
- Specified by:
remove
in interfaceMultiPointSender
-
disconnect
public void disconnect()Description copied from class:AbstractSender
disconnect TODO Implement this org.apache.catalina.tribes.transport.DataSender method- Specified by:
disconnect
in interfaceDataSender
- Specified by:
disconnect
in classAbstractSender
-
finalize
-
keepalive
public boolean keepalive()Description copied from class:AbstractSender
keepalive- Specified by:
keepalive
in interfaceDataSender
- Overrides:
keepalive
in classAbstractSender
- Returns:
- boolean TODO Implement this org.apache.catalina.tribes.transport.DataSender method
-