PlayerIO

The fastest way to build online games without breaking a sweat.

Android Client Reference

Android  class documentationClass ServerEndpoint

Namespace: com.playerio
Language: Java

The address and port where a game server can be reached

Properties

 
public String
address  [read-only]

The address/hostname of the server.

public int
port  [read-only]

The port of the server.

Methods

 
public
ServerEndpoint (String address, int port)

Create a new ServerEndpoint

ServerEndpoint.address

public String
address  [read-only]

The address/hostname of the server.

ServerEndpoint.port

public int
port  [read-only]

The port of the server.

ServerEndpoint.ServerEndpoint

public
ServerEndpoint (String address, int port)

Create a new ServerEndpoint

Arguments

String address
The address/hostname of the server.
int port
The port of the server.