Interface CommandChannel
- All Known Implementing Classes:
CommandChannelSupport,CommandDatagramChannel,CommandDatagramSocket
-
Method Summary
Modifier and TypeMethodDescriptionintintread()voidsetDatagramSize(int datagramSize) Sets the default size of a datagram on the network.voidsetHeaderMarshaller(DatagramHeaderMarshaller headerMarshaller) voidsetReplayAddress(SocketAddress address) voidsetReplayBuffer(ReplayBuffer replayBuffer) voidsetTargetAddress(SocketAddress address) voidwrite(Command command, SocketAddress address) Methods inherited from interface org.apache.activemq.transport.reliable.Replayer
sendBuffer
-
Method Details
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-
getDatagramSize
int getDatagramSize() -
setDatagramSize
void setDatagramSize(int datagramSize) Sets the default size of a datagram on the network. -
getHeaderMarshaller
DatagramHeaderMarshaller getHeaderMarshaller() -
setHeaderMarshaller
-
setTargetAddress
-
setReplayAddress
-
setReplayBuffer
-
getReceiveCounter
int getReceiveCounter()
-