Class ListenerBoundEvent
java.lang.Object
com.velocitypowered.api.event.proxy.ListenerBoundEvent
This event is fired by the proxy after a listener starts accepting connections.
-
Constructor Summary
ConstructorsConstructorDescriptionListenerBoundEvent(InetSocketAddress address, ListenerType listenerType) Constructs a newListenerBoundEvent. -
Method Summary
Modifier and TypeMethodDescriptionReturns the socket address the listener is bound to.Returns the type of listener that was bound.toString()
-
Constructor Details
-
ListenerBoundEvent
Constructs a newListenerBoundEvent.- Parameters:
address- the socket address the listener is bound tolistenerType- the type of listener that was bound
-
-
Method Details