Package alexiil.mc.lib.net
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
-
Nested Class Summary
Nested classes/interfaces inherited from class alexiil.mc.lib.net.MessageContext
MessageContext.Read, MessageContext.Write -
Field Summary
FieldsModifier and TypeFieldDescriptionA non-null value indicates that the read message was dropped.Fields inherited from class alexiil.mc.lib.net.MessageContext
connection, id -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class alexiil.mc.lib.net.MessageContext
getConnection, getNetIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface alexiil.mc.lib.net.IMsgCtx
getConnection, getNetId, getNetSide, isClientSide, isServerSideMethods inherited from interface alexiil.mc.lib.net.IMsgReadCtx
assertClientSide, assertServerSide, drop
-
Field Details
-
dropReason
A non-null value indicates that the read message was dropped.
-
-
Constructor Details
-
Read
-
-
Method Details
-
drop
Description copied from interface:IMsgReadCtxInforms 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:
dropin interfaceIMsgReadCtx
-