Class ListenerBoundEvent
- java.lang.Object
-
- com.velocitypowered.api.event.proxy.ListenerBoundEvent
-
public final class ListenerBoundEvent extends Object
This event is fired by the proxy after a listener starts accepting connections.
-
-
Constructor Summary
Constructors Constructor Description ListenerBoundEvent(InetSocketAddress address, ListenerType listenerType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetSocketAddress
getAddress()
ListenerType
getListenerType()
String
toString()
-
-
-
Constructor Detail
-
ListenerBoundEvent
public ListenerBoundEvent(InetSocketAddress address, ListenerType listenerType)
-
-
Method Detail
-
getAddress
public InetSocketAddress getAddress()
-
getListenerType
public ListenerType getListenerType()
-
-