Interface ProtocolManager


public interface ProtocolManager
  • Field Details

  • Method Details

    • getUsers

      default Collection<User> getUsers()
    • getChannels

      default Collection<Object> getChannels()
    • getPlatformVersion

      ProtocolVersion getPlatformVersion()
    • sendPacket

      void sendPacket(Object channel, Object byteBuf)
    • sendPacketSilently

      void sendPacketSilently(Object channel, Object byteBuf)
    • writePacket

      void writePacket(Object channel, Object byteBuf)
    • writePacketSilently

      void writePacketSilently(Object channel, Object byteBuf)
    • receivePacket

      void receivePacket(Object channel, Object byteBuf)
    • receivePacketSilently

      void receivePacketSilently(Object channel, Object byteBuf)
    • getClientVersion

      ClientVersion getClientVersion(Object channel)
    • sendPackets

      default void sendPackets(Object channel, Object... byteBuf)
    • sendPacketsSilently

      default void sendPacketsSilently(Object channel, Object... byteBuf)
    • writePackets

      default void writePackets(Object channel, Object... byteBuf)
    • writePacketsSilently

      default void writePacketsSilently(Object channel, Object... byteBuf)
    • receivePackets

      default void receivePackets(Object channel, Object... byteBuf)
    • receivePacketsSilently

      default void receivePacketsSilently(Object channel, Object... byteBuf)
    • setClientVersion

      default void setClientVersion(Object channel, ClientVersion version)
    • transformWrappers

      @Internal default Object[] transformWrappers(PacketWrapper<?> wrapper, Object channel, boolean outgoing)
    • sendPacket

      default void sendPacket(Object channel, PacketWrapper<?> wrapper)
    • sendPacketSilently

      default void sendPacketSilently(Object channel, PacketWrapper<?> wrapper)
    • writePacket

      default void writePacket(Object channel, PacketWrapper<?> wrapper)
    • writePacketSilently

      default void writePacketSilently(Object channel, PacketWrapper<?> wrapper)
    • receivePacket

      default void receivePacket(Object channel, PacketWrapper<?> wrapper)
    • receivePacketSilently

      default void receivePacketSilently(Object channel, PacketWrapper<?> wrapper)
    • getUser

      default User getUser(Object channel)
    • removeUser

      default User removeUser(Object channel)
    • setUser

      default void setUser(Object channel, User user)
    • getChannel

      default Object getChannel(UUID uuid)