public class ParallelNioSender extends AbstractSender implements MultiPointSender
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<Member,NioSender> |
nioSenders |
protected java.nio.channels.Selector |
selector |
protected long |
selectTimeout |
protected static StringManager |
sm |
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, 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
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDirectBuffer, setMaxRetryAttempts
getConnectTime, getRequestCount, isConnected, setKeepAliveCount, setKeepAliveTime, setRxBufSize, setTimeout, setTxBufSize
protected static final StringManager sm
protected final long selectTimeout
protected final java.nio.channels.Selector selector
public ParallelNioSender() throws java.io.IOException
java.io.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 java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public boolean keepalive()
AbstractSender
keepalive
in interface DataSender
keepalive
in class AbstractSender
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.