org.apache.activemq.transport.reliable
Interface Replayer
- All Known Subinterfaces:
- CommandChannel
- All Known Implementing Classes:
- CommandChannelSupport, CommandDatagramChannel, CommandDatagramSocket
public interface Replayer
Used by a ReplayBuffer to replay buffers back over an unreliable transport
|
Method Summary |
void |
sendBuffer(int commandId,
Object buffer)
Sends the given buffer back to the transport
if the buffer could be found - otherwise maybe send some kind
of exception |
sendBuffer
void sendBuffer(int commandId,
Object buffer)
throws IOException
- Sends the given buffer back to the transport
if the buffer could be found - otherwise maybe send some kind
of exception
- Parameters:
commandId - the command IDbuffer - the buffer to be sent - or null if the buffer no longer exists in the buffer
- Throws:
IOException
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.