Interface IMsgReadCtx

All Superinterfaces:
IMsgCtx
All Known Implementing Classes:
MessageContext.Read

public interface IMsgReadCtx
extends IMsgCtx
  • Method Summary

    Modifier and Type Method Description
    default void assertClientSide()  
    default void assertServerSide()  
    default void drop()
    Informs the supplier that this packet has been dropped (for any reason) and so there might be unread data left in the buffer.
    void drop​(java.lang.String reason)
    Informs the supplier that this packet has been dropped (for the given reason) and so there might be unread data left in the buffer.

    Methods inherited from interface alexiil.mc.lib.net.IMsgCtx

    getConnection, getNetId, getNetSide, isClientSide, isServerSide