Package alexiil.mc.lib.net
Interface IMsgReadCtx
- All Superinterfaces:
IMsgCtx
- All Known Implementing Classes:
MessageContext.Read
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
default void
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
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
-
Method Details
-
assertClientSide
- Throws:
InvalidInputDataException
-
assertServerSide
- Throws:
InvalidInputDataException
-
drop
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. -
drop
Informs the supplier that this packet has been dropped (for the given reason) and so there might be unread data left in the buffer.
-