Interface PlayerConnectionEndpoint.Builder

  • Method Details

    • ipAddress

      IP address for connecting to the game session. When player gateway is enabled, this is a player gateway IP address. When player gateway is disabled, this is the game server IP address.

      Parameters:
      ipAddress - IP address for connecting to the game session. When player gateway is enabled, this is a player gateway IP address. When player gateway is disabled, this is the game server IP address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      Port number for connecting to the game session. When player gateway is enabled, this is a player gateway port. When player gateway is disabled, this is the game server port.

      Parameters:
      port - Port number for connecting to the game session. When player gateway is enabled, this is a player gateway port. When player gateway is disabled, this is the game server port.
      Returns:
      Returns a reference to this object so that method calls can be chained together.