Package alexiil.mc.lib.net
Class MessageContext
java.lang.Object
alexiil.mc.lib.net.MessageContext
- All Implemented Interfaces:
IMsgCtx
- Direct Known Subclasses:
MessageContext.Read
,MessageContext.Write
public abstract class MessageContext extends java.lang.Object implements IMsgCtx
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MessageContext.Read
static class
MessageContext.Write
-
Field Summary
Fields Modifier and Type Field Description ActiveConnection
connection
NetIdBase
id
-
Constructor Summary
Constructors Constructor Description MessageContext(ActiveConnection connection, NetIdBase id)
-
Method Summary
Modifier and Type Method Description ActiveConnection
getConnection()
NetIdBase
getNetId()
-
Field Details
-
Constructor Details
-
Method Details
-
getConnection
- Specified by:
getConnection
in interfaceIMsgCtx
-
getNetId
-