- All Known Subinterfaces:
public interface RemoteConnection
- The address
virtualHostInetSocketAddress virtualHost()Gets the host name the connection is connecting to the server with.
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.
- The host name
closevoid close()Closes the connection.