Class ParallelNioSender
java.lang.Object
org.apache.catalina.tribes.transport.AbstractSender
org.apache.catalina.tribes.transport.nio.ParallelNioSender
- All Implemented Interfaces:
- DataSender, MultiPointSender
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidSend to the specified member.voidconnect()Connect.voidDisconnect.booleanKeepalive.voidStop sending to the specified member.voidsendMessage(Member[] destination, ChannelMessage msg) Send the specified message.Methods inherited from class AbstractSendergetAddress, 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, transferPropertiesMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataSendergetConnectTime, getRequestCount, isConnected, setKeepAliveCount, setKeepAliveTime, setRxBufSize, setTimeout, setTxBufSizeMethods inherited from interface MultiPointSendersetDirectBuffer, setMaxRetryAttempts
- 
Field Details- 
sm
- 
selectTimeoutprotected final long selectTimeout- See Also:
 
 
- 
- 
Constructor Details- 
ParallelNioSender- Throws:
- IOException
 
 
- 
- 
Method Details- 
sendMessageDescription copied from interface:MultiPointSenderSend the specified message.- Specified by:
- sendMessagein interface- MultiPointSender
- Parameters:
- destination- the message destinations
- msg- the data to send
- Throws:
- ChannelException- if an error occurs
 
- 
connectpublic void connect()Description copied from interface:DataSenderConnect.- Specified by:
- connectin interface- DataSender
 
- 
addDescription copied from interface:MultiPointSenderSend to the specified member.- Specified by:
- addin interface- MultiPointSender
- Parameters:
- member- the member
 
- 
removeDescription copied from interface:MultiPointSenderStop sending to the specified member.- Specified by:
- removein interface- MultiPointSender
- Parameters:
- member- the member
 
- 
disconnectpublic void disconnect()Description copied from interface:DataSenderDisconnect.- Specified by:
- disconnectin interface- DataSender
 
- 
keepalivepublic boolean keepalive()Description copied from interface:DataSenderKeepalive.- Specified by:
- keepalivein interface- DataSender
- Overrides:
- keepalivein class- AbstractSender
- Returns:
- trueif kept alive
 
 
-