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 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 Details

    • 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 ID
      buffer - the buffer to be sent - or null if the buffer no longer exists in the buffer
      Throws:
      IOException