Class MultipointBioSender
java.lang.Object
org.apache.catalina.tribes.transport.AbstractSender
org.apache.catalina.tribes.transport.bio.MultipointBioSender
- All Implemented Interfaces:
DataSender
,MultiPointSender
Deprecated.
This will be removed in Tomcat 10
-
Field Summary
Modifier and TypeFieldDescriptionDeprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Send to the specified member.void
connect()
Deprecated.Connect.void
Deprecated.Disconnect.protected void
finalize()
Deprecated.boolean
Deprecated.Keepalive.void
Deprecated.Stop sending to the specified member.void
sendMessage
(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
-
Field Details
-
bioSenders
Deprecated.
-
-
Constructor Details
-
MultipointBioSender
public MultipointBioSender()Deprecated.
-
-
Method Details
-
sendMessage
Deprecated.Description copied from interface:MultiPointSender
Send the specified message.- Specified by:
sendMessage
in interfaceMultiPointSender
- Parameters:
destination
- the message destinationsmsg
- the data to send- Throws:
ChannelException
- if an error occurs
-
setupForSend
Deprecated.- Throws:
ChannelException
-
connect
Deprecated.Description copied from interface:DataSender
Connect.- Specified by:
connect
in interfaceDataSender
- Throws:
IOException
- when an error occurs
-
add
Deprecated.Description copied from interface:MultiPointSender
Send to the specified member.- Specified by:
add
in interfaceMultiPointSender
- Parameters:
member
- the member
-
remove
Deprecated.Description copied from interface:MultiPointSender
Stop sending to the specified member.- Specified by:
remove
in interfaceMultiPointSender
- Parameters:
member
- the member
-
disconnect
public void disconnect()Deprecated.Description copied from interface:DataSender
Disconnect.- Specified by:
disconnect
in interfaceDataSender
-
finalize
Deprecated. -
keepalive
public boolean keepalive()Deprecated.Description copied from interface:DataSender
Keepalive.- Specified by:
keepalive
in interfaceDataSender
- Overrides:
keepalive
in classAbstractSender
- Returns:
true
if kept alive
-