Class ListenerCloseEvent
- java.lang.Object
-
- com.velocitypowered.api.event.proxy.ListenerCloseEvent
-
public final class ListenerCloseEvent extends Object
This event is fired by the proxy before the proxy stops accepting connections.
-
-
Constructor Summary
Constructors Constructor Description ListenerCloseEvent(InetSocketAddress address, ListenerType listenerType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetSocketAddressgetAddress()ListenerTypegetListenerType()StringtoString()
-
-
-
Constructor Detail
-
ListenerCloseEvent
public ListenerCloseEvent(InetSocketAddress address, ListenerType listenerType)
-
-
Method Detail
-
getAddress
public InetSocketAddress getAddress()
-
getListenerType
public ListenerType getListenerType()
-
-