org.apache.activemq.transport.udp
Interface CommandChannel
- All Superinterfaces:
- Replayer, Service
- All Known Implementing Classes:
- CommandChannelSupport, CommandDatagramChannel, CommandDatagramSocket
public interface CommandChannel
- extends Replayer, Service
- Version:
- $Revision: 891816 $
Methods inherited from interface org.apache.activemq.transport.reliable.Replayer |
sendBuffer |
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()
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.