Package net.md_5.bungee.connection
Class InitialHandler
java.lang.Object
net.md_5.bungee.protocol.packet.AbstractPacketHandler
net.md_5.bungee.netty.PacketHandler
net.md_5.bungee.connection.InitialHandler
- All Implemented Interfaces:
net.md_5.bungee.api.connection.Connection,net.md_5.bungee.api.connection.PendingConnection
public class InitialHandler
extends PacketHandler
implements net.md_5.bungee.api.connection.PendingConnection
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.md_5.bungee.api.connection.Connection
net.md_5.bungee.api.connection.Connection.Unsafe -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnected(ChannelWrapper channel) voiddisconnect(String reason) voidgetName()voidhandle(net.md_5.bungee.protocol.packet.Packet1Login login) voidhandle(net.md_5.bungee.protocol.packet.Packet2Handshake handshake) voidhandle(net.md_5.bungee.protocol.packet.PacketF9BungeeMessage pluginMessage) toString()net.md_5.bungee.api.connection.Connection.Unsafeunsafe()Methods inherited from class net.md_5.bungee.netty.PacketHandler
disconnected, handleMethods inherited from class net.md_5.bungee.protocol.packet.AbstractPacketHandler
handle, handle, handleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.md_5.bungee.api.connection.PendingConnection
getListener
-
Constructor Details
-
InitialHandler
public InitialHandler()
-
-
Method Details
-
connected
- Overrides:
connectedin classPacketHandler- Throws:
Exception
-
exception
- Overrides:
exceptionin classPacketHandler- Throws:
Exception
-
handle
public void handle(net.md_5.bungee.protocol.packet.PacketF9BungeeMessage pluginMessage) throws Exception - Overrides:
handlein classnet.md_5.bungee.protocol.packet.AbstractPacketHandler- Throws:
Exception
-
handle
- Overrides:
handlein classnet.md_5.bungee.protocol.packet.AbstractPacketHandler- Throws:
Exception
-
handle
- Overrides:
handlein classnet.md_5.bungee.protocol.packet.AbstractPacketHandler- Throws:
Exception
-
disconnect
- Specified by:
disconnectin interfacenet.md_5.bungee.api.connection.Connection
-
getName
- Specified by:
getNamein interfacenet.md_5.bungee.api.connection.PendingConnection
-
getVirtualHost
- Specified by:
getVirtualHostin interfacenet.md_5.bungee.api.connection.PendingConnection
-
getAddress
- Specified by:
getAddressin interfacenet.md_5.bungee.api.connection.Connection
-
unsafe
public net.md_5.bungee.api.connection.Connection.Unsafe unsafe()- Specified by:
unsafein interfacenet.md_5.bungee.api.connection.Connection
-
toString
- Specified by:
toStringin classPacketHandler
-