Package com.velocitypowered.api.network
Interface NetworkEndpoint
-
public interface NetworkEndpointRepresents a network listener for the proxy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SocketAddressaddress()The address the listener is listening on.ListenerTypetype()The type.
-
-
-
Method Detail
-
type
ListenerType type()
The type.- Returns:
- the type
-
address
SocketAddress address()
The address the listener is listening on.- Returns:
- the address
-
-