Interface Replayer
-
- All Known Subinterfaces:
CommandChannel
- All Known Implementing Classes:
CommandChannelSupport
,CommandDatagramChannel
,CommandDatagramSocket
public interface Replayer
Used by aReplayBuffer
to replay buffers back over an unreliable transport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-
-
Method Detail
-
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
-
-