Class MessageContext.Read

java.lang.Object
alexiil.mc.lib.net.MessageContext
alexiil.mc.lib.net.MessageContext.Read
All Implemented Interfaces:
IMsgCtx, IMsgReadCtx
Enclosing class:
MessageContext

public static class MessageContext.Read extends MessageContext implements IMsgReadCtx
  • Field Details

    • dropReason

      public String dropReason
      A non-null value indicates that the read message was dropped.
  • Constructor Details

  • Method Details

    • drop

      public void drop(String reason)
      Description copied from interface: IMsgReadCtx
      Informs the supplier that this packet has been dropped (for the given reason) and so there might be unread data left in the buffer.
      Specified by:
      drop in interface IMsgReadCtx