Class MultipointBioSender
- java.lang.Object
-
- org.apache.catalina.tribes.transport.AbstractSender
-
- org.apache.catalina.tribes.transport.bio.MultipointBioSender
-
- All Implemented Interfaces:
DataSender,MultiPointSender
@Deprecated public class MultipointBioSender extends AbstractSender implements MultiPointSender
Deprecated.This will be removed in Tomcat 10
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.HashMap<Member,BioSender>bioSendersDeprecated.
-
Constructor Summary
Constructors Constructor Description MultipointBioSender()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidadd(Member member)Deprecated.Send to the specified member.voidconnect()Deprecated.Connect.voiddisconnect()Deprecated.Disconnect.protected voidfinalize()Deprecated.booleankeepalive()Deprecated.Keepalive.voidremove(Member member)Deprecated.Stop sending to the specified member.voidsendMessage(Member[] destination, ChannelMessage msg)Deprecated.Send the specified message.protected BioSender[]setupForSend(Member[] destination)Deprecated.-
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
-
-
-
-
Method Detail
-
sendMessage
public void sendMessage(Member[] destination, ChannelMessage msg) throws ChannelException
Deprecated.Description copied from interface:MultiPointSenderSend the specified message.- Specified by:
sendMessagein interfaceMultiPointSender- Parameters:
destination- the message destinationsmsg- the data to send- Throws:
ChannelException- if an error occurs
-
setupForSend
protected BioSender[] setupForSend(Member[] destination) throws ChannelException
Deprecated.- Throws:
ChannelException
-
connect
public void connect() throws java.io.IOExceptionDeprecated.Description copied from interface:DataSenderConnect.- Specified by:
connectin interfaceDataSender- Throws:
java.io.IOException- when an error occurs
-
add
public void add(Member member)
Deprecated.Description copied from interface:MultiPointSenderSend to the specified member.- Specified by:
addin interfaceMultiPointSender- Parameters:
member- the member
-
remove
public void remove(Member member)
Deprecated.Description copied from interface:MultiPointSenderStop sending to the specified member.- Specified by:
removein interfaceMultiPointSender- Parameters:
member- the member
-
disconnect
public void disconnect()
Deprecated.Description copied from interface:DataSenderDisconnect.- Specified by:
disconnectin interfaceDataSender
-
finalize
protected void finalize() throws java.lang.ThrowableDeprecated.- Overrides:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-
keepalive
public boolean keepalive()
Deprecated.Description copied from interface:DataSenderKeepalive.- Specified by:
keepalivein interfaceDataSender- Overrides:
keepalivein classAbstractSender- Returns:
trueif kept alive
-
-