Interface MultiPointSender
- All Superinterfaces:
DataSender
- All Known Implementing Classes:
ParallelNioSender, PooledParallelSender, PooledSender
Multi-point sender interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoidSend to the specified member.voidStop 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 DataSender
connect, disconnect, getConnectTime, getRequestCount, isConnected, keepalive, setKeepAliveCount, setKeepAliveTime, setRxBufSize, setTimeout, setTxBufSize
-
Method Details
-
sendMessage
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
-
remove
-