Package crow.game.ha0.server
Class HA0Context
java.lang.Object
crow.game.ha0.server.HA0Context
- All Implemented Interfaces:
Context
-
Nested Class Summary
Nested classes/interfaces inherited from interface crow.game.codec.Context
Context.Source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<PacketHandler<?>>lookupPacketHandler(int prefix) List<PacketHandler<?>>lookupPacketHandler(Class<?> clz) intMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface crow.game.codec.Context
matchesPacketVersion
-
Constructor Details
-
HA0Context
public HA0Context()
-
-
Method Details
-
supportedProtocolVersion
public int supportedProtocolVersion()- Specified by:
supportedProtocolVersionin interfaceContext- Returns:
- the current RO protocol version as an integer.
-
lookupPacketHandler
- Specified by:
lookupPacketHandlerin interfaceContext
-
lookupPacketHandler
- Specified by:
lookupPacketHandlerin interfaceContext
-
underlyingObject
- Specified by:
underlyingObjectin interfaceContext- Returns:
- the underlying object, usually a Netty connection object.
-
callingSource
- Specified by:
callingSourcein interfaceContext- Returns:
- the location of the codec workflow this context was built in.
-