Interface CommandChannel
-
- All Known Implementing Classes:
CommandChannelSupport,CommandDatagramChannel,CommandDatagramSocket
public interface CommandChannel extends Replayer, Service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDatagramSize()DatagramHeaderMarshallergetHeaderMarshaller()intgetReceiveCounter()Commandread()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 Detail
-
read
Command read() throws IOException
- Throws:
IOException
-
write
void write(Command command, SocketAddress address) throws IOException
- Throws:
IOException
-
getDatagramSize
int getDatagramSize()
-
setDatagramSize
void setDatagramSize(int datagramSize)
Sets the default size of a datagram on the network.
-
getHeaderMarshaller
DatagramHeaderMarshaller getHeaderMarshaller()
-
setHeaderMarshaller
void setHeaderMarshaller(DatagramHeaderMarshaller headerMarshaller)
-
setTargetAddress
void setTargetAddress(SocketAddress address)
-
setReplayAddress
void setReplayAddress(SocketAddress address)
-
setReplayBuffer
void setReplayBuffer(ReplayBuffer replayBuffer)
-
getReceiveCounter
int getReceiveCounter()
-
-