Class ConnectionHandshakeEvent
- java.lang.Object
-
- com.velocitypowered.api.event.connection.ConnectionHandshakeEvent
-
public final class ConnectionHandshakeEvent extends Object
This event is fired when a handshake is established between a client and the proxy. Velocity will fire this event asynchronously and will not wait for it to complete before handling the connection.
-
-
Constructor Summary
Constructors Constructor Description ConnectionHandshakeEvent(InboundConnection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InboundConnection
getConnection()
String
toString()
-
-
-
Constructor Detail
-
ConnectionHandshakeEvent
public ConnectionHandshakeEvent(InboundConnection connection)
-
-
Method Detail
-
getConnection
public InboundConnection getConnection()
-
-