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