Speedify SDK for Android  14.6.1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
com.speedify.speedifysdk.Types.ServerInformation Class Reference

Detailed Description

Information about a server.

Since
5.6
Inheritance diagram for com.speedify.speedifysdk.Types.ServerInformation:
com.speedify.speedifysdk.Types.ServerInformationDetailed

Public Member Functions

 ServerInformation (String country, String city, int num, boolean isPrivate)
 
String toString ()
 

Static Public Member Functions

static String GetCountryName (String country)
 Get country name string from country code. More...
 
static String GetCityName (String city)
 Get city name string from city code. More...
 

Public Attributes

String country
 2-character ISO country code, ie: 'us'. More...
 
String city
 City code, ie: 'atlanta'. More...
 
int num
 Server number. More...
 
boolean isPrivate
 Whether this is a private or public server. More...
 
boolean isPremium
 Whether this is a premium-only server. More...
 
boolean torrentAllowed
 Whether this server allows bittorrent/P2P. More...
 
String dataCenter
 Data center the server is in. More...
 
List< String > publicIP
 Public IP addresses of this server Only available on connected server calls. More...
 

Constructor & Destructor Documentation

◆ ServerInformation()

com.speedify.speedifysdk.Types.ServerInformation.ServerInformation ( String  country,
String  city,
int  num,
boolean  isPrivate 
)
Parameters
country2-character ISO country code
citycity name
numserver number
isPrivateif this server is a private, dedicated server
Since
5.6

Member Function Documentation

◆ GetCityName()

static String com.speedify.speedifysdk.Types.ServerInformation.GetCityName ( String  city)
static

Get city name string from city code.

Returns null if city is a city-state

Parameters
citycity code
Returns
city name
Since
5.6

◆ GetCountryName()

static String com.speedify.speedifysdk.Types.ServerInformation.GetCountryName ( String  country)
static

Get country name string from country code.

Parameters
country2-char ISO country code
Returns
country name
Since
5.6

◆ toString()

String com.speedify.speedifysdk.Types.ServerInformation.toString ( )
Since
5.6

Member Data Documentation

◆ city

String com.speedify.speedifysdk.Types.ServerInformation.city

City code, ie: 'atlanta'.

Since
5.6

◆ country

String com.speedify.speedifysdk.Types.ServerInformation.country

2-character ISO country code, ie: 'us'.

Since
5.6

◆ dataCenter

String com.speedify.speedifysdk.Types.ServerInformation.dataCenter

Data center the server is in.

Since
14.0

◆ isPremium

boolean com.speedify.speedifysdk.Types.ServerInformation.isPremium

Whether this is a premium-only server.

Since
14.0

◆ isPrivate

boolean com.speedify.speedifysdk.Types.ServerInformation.isPrivate

Whether this is a private or public server.

Since
5.6

◆ num

int com.speedify.speedifysdk.Types.ServerInformation.num

Server number.

Each specific server in an area is given a number unique to that region, as in "us-atlanta-3"

Since
5.6

◆ publicIP

List<String> com.speedify.speedifysdk.Types.ServerInformation.publicIP

Public IP addresses of this server Only available on connected server calls.

Since
14.0

◆ torrentAllowed

boolean com.speedify.speedifysdk.Types.ServerInformation.torrentAllowed

Whether this server allows bittorrent/P2P.

Since
14.0

The documentation for this class was generated from the following file: