-
Method Summary
void
Send to the specified member.
void
Stop sending to the specified member.
void
Send the specified message.
void
Configure the use of a direct buffer.
void
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 Details
-
sendMessage
Send the specified message.
- Parameters:
destination
- the message destinations
data
- 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
- true
to use a direct buffer
-
add
Send to the specified member.
- Parameters:
member
- the member
-
remove
Stop sending to the specified member.
- Parameters:
member
- the member