Class ProtocolManagerAbstract
java.lang.Object
io.github.retrooper.packetevents.impl.netty.manager.protocol.ProtocolManagerAbstract
- All Implemented Interfaces:
com.github.retrooper.packetevents.manager.protocol.ProtocolManager
public abstract class ProtocolManagerAbstract
extends Object
implements com.github.retrooper.packetevents.manager.protocol.ProtocolManager
-
Field Summary
Fields inherited from interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
CHANNELS, USERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.github.retrooper.packetevents.protocol.player.ClientVersion
getClientVersion
(Object channel) abstract com.github.retrooper.packetevents.protocol.ProtocolVersion
void
receivePacket
(Object channel, Object byteBuf) void
receivePacketSilently
(Object channel, Object byteBuf) void
sendPacket
(Object channel, Object byteBuf) void
sendPacketSilently
(Object channel, Object byteBuf) void
writePacket
(Object channel, Object byteBuf) void
writePacketSilently
(Object channel, Object byteBuf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.manager.protocol.ProtocolManager
getChannel, getChannels, getUser, getUsers, receivePacket, receivePackets, receivePacketSilently, receivePacketsSilently, removeUser, sendPacket, sendPackets, sendPacketSilently, sendPacketsSilently, setClientVersion, setUser, transformWrappers, writePacket, writePackets, writePacketSilently, writePacketsSilently
-
Constructor Details
-
ProtocolManagerAbstract
public ProtocolManagerAbstract()
-
-
Method Details
-
getPlatformVersion
public abstract com.github.retrooper.packetevents.protocol.ProtocolVersion getPlatformVersion()- Specified by:
getPlatformVersion
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
-
sendPacket
- Specified by:
sendPacket
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
-
sendPacketSilently
- Specified by:
sendPacketSilently
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
-
writePacket
- Specified by:
writePacket
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
-
writePacketSilently
- Specified by:
writePacketSilently
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
-
receivePacket
- Specified by:
receivePacket
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
-
receivePacketSilently
- Specified by:
receivePacketSilently
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
-
getClientVersion
public com.github.retrooper.packetevents.protocol.player.ClientVersion getClientVersion(Object channel) - Specified by:
getClientVersion
in interfacecom.github.retrooper.packetevents.manager.protocol.ProtocolManager
-