Class ServletServerStream.ServletTransportState

All Implemented Interfaces:
ApplicationThreadDeframer.TransportExecutor, ApplicationThreadDeframerListener.TransportExecutor, MessageDeframer.Listener
Enclosing class:
ServletServerStream

final class ServletServerStream.ServletTransportState extends AbstractServerStream.TransportState
  • Field Details

  • Constructor Details

  • Method Details

    • runOnTransportThread

      public void runOnTransportThread(Runnable r)
    • bytesRead

      public void bytesRead(int numBytes)
      Description copied from interface: MessageDeframer.Listener
      Called when the given number of bytes has been read from the input source of the deframer. This is typically used to indicate to the underlying transport that more data can be accepted.
      Parameters:
      numBytes - the number of bytes read from the deframer's input source.
    • deframeFailed

      public void deframeFailed(Throwable cause)
      Description copied from interface: MessageDeframer.Listener
      Called when a MessageDeframer.deframe(ReadableBuffer) operation failed.
      Parameters:
      cause - the actual failure