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
Modifier 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
-
Method Summary
Methods inherited from class alexiil.mc.lib.net.MessageContext
getConnection, getNetId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface alexiil.mc.lib.net.IMsgCtx
getConnection, getNetId, getNetSide, isClientSide, isServerSide
Methods 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: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 interfaceIMsgReadCtx
-