Class NetworkClientChannelHandler

  • All Implemented Interfaces:
    de.dytanic.cloudnet.driver.network.INetworkChannelHandler

    public class NetworkClientChannelHandler
    extends java.lang.Object
    implements de.dytanic.cloudnet.driver.network.INetworkChannelHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleChannelClose​(de.dytanic.cloudnet.driver.network.INetworkChannel channel)  
      void handleChannelInitialize​(de.dytanic.cloudnet.driver.network.INetworkChannel channel)  
      boolean handlePacketReceive​(de.dytanic.cloudnet.driver.network.INetworkChannel channel, de.dytanic.cloudnet.driver.network.protocol.Packet packet)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NetworkClientChannelHandler

        public NetworkClientChannelHandler()
    • Method Detail

      • handleChannelInitialize

        public void handleChannelInitialize​(de.dytanic.cloudnet.driver.network.INetworkChannel channel)
        Specified by:
        handleChannelInitialize in interface de.dytanic.cloudnet.driver.network.INetworkChannelHandler
      • handlePacketReceive

        public boolean handlePacketReceive​(de.dytanic.cloudnet.driver.network.INetworkChannel channel,
                                           de.dytanic.cloudnet.driver.network.protocol.Packet packet)
        Specified by:
        handlePacketReceive in interface de.dytanic.cloudnet.driver.network.INetworkChannelHandler
      • handleChannelClose

        public void handleChannelClose​(de.dytanic.cloudnet.driver.network.INetworkChannel channel)
        Specified by:
        handleChannelClose in interface de.dytanic.cloudnet.driver.network.INetworkChannelHandler