public interface RemoteConnection
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getAddress()
Gets the
InetSocketAddress of this connection. |
InetSocketAddress |
getVirtualHost()
Gets the host name the connection is connecting to the server with.
|
InetSocketAddress getAddress()
InetSocketAddress
of this connection.InetSocketAddress getVirtualHost()
Examples include: If a player is connecting to `mc.example.com`, the hostname will show `mc.example.com`. This is NOT the originating hostname of the client.