Interface RemoteConnection

All Known Subinterfaces:
ClientSideConnection, EngineConnection, LocalPlayerConnection, PlayerConnection, RconConnection, ServerPlayerConnection, ServerSideConnection

public interface RemoteConnection
  • Method Details

    • address

      Gets the InetSocketAddress of this connection.
      The address
    • virtualHost

      InetSocketAddress virtualHost()
      Gets the host name the connection is connecting to the server with.

      Examples include: If a player is connecting to ``, the hostname will show ``. This is NOT the originating hostname of the client.

      The host name
    • close

      void close()
      Closes the connection.