public class ParallelNioSender extends AbstractSender implements MultiPointSender
Modifier and Type | Field and Description |
---|---|
protected HashMap<Member,NioSender> |
nioSenders |
protected Selector |
selector |
protected long |
selectTimeout |
Constructor and Description |
---|
ParallelNioSender() |
Modifier and Type | Method and Description |
---|---|
void |
add(Member member) |
void |
connect()
connect
|
void |
disconnect()
disconnect
TODO Implement this org.apache.catalina.tribes.transport.DataSender method
|
void |
finalize() |
boolean |
keepalive()
keepalive
|
void |
remove(Member member) |
void |
sendMessage(Member[] destination,
ChannelMessage msg) |
getAddress, getAttempt, getConnectTime, getDestination, getDirect, 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, setDirect, setDirectBuffer, setKeepAliveCount, setKeepAliveTime, setMaxRetryAttempts, setOoBInline, setPort, setRequestCount, setRxBufSize, setSoKeepAlive, setSoLingerOn, setSoLingerTime, setSoReuseAddress, setSoTrafficClass, setTcpNoDelay, setThrowOnFailedAck, setTimeout, setTxBufSize, setUdpBased, setUdpPort, setUdpRxBufSize, setUdpTxBufSize, transferProperties
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDirectBuffer, setMaxRetryAttempts
getConnectTime, getRequestCount, isConnected, setKeepAliveCount, setKeepAliveTime, setRxBufSize, setTimeout, setTxBufSize
protected long selectTimeout
protected Selector selector
public ParallelNioSender() throws IOException
IOException
public void sendMessage(Member[] destination, ChannelMessage msg) throws ChannelException
sendMessage
in interface MultiPointSender
ChannelException
public void connect()
AbstractSender
connect
in interface DataSender
connect
in class AbstractSender
public void add(Member member)
add
in interface MultiPointSender
public void remove(Member member)
remove
in interface MultiPointSender
public void disconnect()
AbstractSender
disconnect
in interface DataSender
disconnect
in class AbstractSender
public void finalize() throws Throwable
public boolean keepalive()
AbstractSender
keepalive
in interface DataSender
keepalive
in class AbstractSender
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.