@ThreadSafe public class PacketHandler extends <any>
Constructor and Description |
---|
PacketHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handlerAdded(ChannelHandlerContext context) |
protected void |
messageReceived(ChannelHandlerContext context,
PacketData data)
Converts the PacketData to a Packet depending on the ConnectionStage of the Client
|
void |
updateConnection(PlayerConnection connection) |
public PacketHandler()
public void handlerAdded(ChannelHandlerContext context)
protected void messageReceived(ChannelHandlerContext context, PacketData data) throws Exception
Exception
public void updateConnection(PlayerConnection connection)
Copyright © 2016. All rights reserved.