Class ListenerBoundEventImpl
- java.lang.Object
-
- com.velocitypowered.api.event.lifecycle.network.ListenerBoundEventImpl
-
- All Implemented Interfaces:
Event,ListenerBoundEvent
public final class ListenerBoundEventImpl extends Object implements ListenerBoundEvent
This event is fired by the proxy after a listener starts accepting connections.
-
-
Constructor Summary
Constructors Constructor Description ListenerBoundEventImpl(SocketAddress address, ListenerType listenerType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketAddressaddress()StringtoString()ListenerTypetype()
-
-
-
Constructor Detail
-
ListenerBoundEventImpl
public ListenerBoundEventImpl(SocketAddress address, ListenerType listenerType)
-
-
Method Detail
-
address
public SocketAddress address()
- Specified by:
addressin interfaceListenerBoundEvent
-
type
public ListenerType type()
- Specified by:
typein interfaceListenerBoundEvent
-
-