Interface MultiPointSender
-
- All Superinterfaces:
DataSender
- All Known Implementing Classes:
MultipointBioSender,ParallelNioSender,PooledMultiSender,PooledParallelSender,PooledSender
public interface MultiPointSender extends DataSender
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(Member member)Send to the specified member.voidremove(Member member)Stop sending to the specified member.voidsendMessage(Member[] destination, ChannelMessage data)Send the specified message.voidsetDirectBuffer(boolean directBuf)Configure the use of a direct buffer.voidsetMaxRetryAttempts(int attempts)Set the maximum retry attempts.-
Methods inherited from interface org.apache.catalina.tribes.transport.DataSender
connect, disconnect, getConnectTime, getRequestCount, isConnected, keepalive, setKeepAliveCount, setKeepAliveTime, setRxBufSize, setTimeout, setTxBufSize
-
-
-
-
Method Detail
-
sendMessage
void sendMessage(Member[] destination, ChannelMessage data) throws ChannelException
Send the specified message.- Parameters:
destination- the message destinationsdata- the data to send- Throws:
ChannelException- if an error occurs
-
setMaxRetryAttempts
void setMaxRetryAttempts(int attempts)
Set the maximum retry attempts.- Parameters:
attempts- the retry count
-
setDirectBuffer
void setDirectBuffer(boolean directBuf)
Configure the use of a direct buffer.- Parameters:
directBuf-trueto use a direct buffer
-
add
void add(Member member)
Send to the specified member.- Parameters:
member- the member
-
remove
void remove(Member member)
Stop sending to the specified member.- Parameters:
member- the member
-
-