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
Modifier and TypeMethodDescriptionvoid
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
-
Method Details
-
sendBuffer
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
-