Class ListenerCloseEvent
java.lang.Object
com.velocitypowered.api.event.proxy.ListenerCloseEvent
This event is fired by the proxy before the proxy stops accepting connections.
-
Constructor Summary
ConstructorsConstructorDescriptionListenerCloseEvent(InetSocketAddress address, ListenerType listenerType) Constructs a newListenerCloseEvent. -
Method Summary
Modifier and TypeMethodDescriptionReturns the socket address the listener was bound to.Returns the type of listener being closed.toString()
-
Constructor Details
-
ListenerCloseEvent
Constructs a newListenerCloseEvent.- Parameters:
address- the socket address the listener was bound tolistenerType- the type of listener being closed
-
-
Method Details