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 int
getDatagramSize()
DatagramHeaderMarshaller
getHeaderMarshaller()
int
getReceiveCounter()
Command
read()
void
setDatagramSize(int datagramSize)
Sets the default size of a datagram on the network.void
setHeaderMarshaller(DatagramHeaderMarshaller headerMarshaller)
void
setReplayAddress(SocketAddress address)
void
setReplayBuffer(ReplayBuffer replayBuffer)
void
setTargetAddress(SocketAddress address)
void
write(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()
-
-