public class ServerConnector extends PacketHandler
Constructor and Description |
---|
ServerConnector() |
Modifier and Type | Method and Description |
---|---|
void |
connected(ChannelWrapper channel) |
void |
disconnected(ChannelWrapper channel) |
void |
exception(Throwable t) |
void |
handle(EncryptionRequest encryptionRequest) |
void |
handle(Kick kick) |
void |
handle(Login login) |
void |
handle(LoginSuccess loginSuccess) |
void |
handle(PacketWrapper packet) |
void |
handle(PluginMessage pluginMessage) |
void |
handle(SetCompression setCompression) |
String |
toString() |
shouldHandle, writabilityChanged
public void exception(Throwable t) throws Exception
exception
in class PacketHandler
Exception
public void connected(ChannelWrapper channel) throws Exception
connected
in class PacketHandler
Exception
public void disconnected(ChannelWrapper channel) throws Exception
disconnected
in class PacketHandler
Exception
public void handle(PacketWrapper packet) throws Exception
handle
in class PacketHandler
Exception
public void handle(LoginSuccess loginSuccess) throws Exception
handle
in class AbstractPacketHandler
Exception
public void handle(SetCompression setCompression) throws Exception
handle
in class AbstractPacketHandler
Exception
public void handle(Login login) throws Exception
handle
in class AbstractPacketHandler
Exception
public void handle(EncryptionRequest encryptionRequest) throws Exception
handle
in class AbstractPacketHandler
Exception
public void handle(Kick kick) throws Exception
handle
in class AbstractPacketHandler
Exception
public void handle(PluginMessage pluginMessage) throws Exception
handle
in class AbstractPacketHandler
Exception
public String toString()
toString
in class PacketHandler
Copyright © 2012–2020 SpigotMC. All rights reserved.