Public Member Functions | |
String | getAddress () |
int | getHttpPort () |
String | getPassword () |
int | getTcpPort () |
String | getUsername () |
HostConfig (String address) | |
HostConfig (String address, int httpPort) | |
HostConfig (String address, int httpPort, int tcpPort) | |
HostConfig (String address, int httpPort, String username, String password) | |
HostConfig (String address, int httpPort, int tcpPort, String username, String password) | |
Public Attributes | |
final String | mAddress |
final int | mHttpPort |
final String | mPassword |
final int | mTcpPort |
final String | mUsername |
A set of configuration data needed to connect to an XBMC host.
Definition at line 29 of file HostConfig.java.
org.xbmc.android.jsonrpc.config.HostConfig.HostConfig | ( | String | address | ) | [inline] |
Creates a new XBMC host object.
address | IP or host adress of XBMC |
Definition at line 56 of file HostConfig.java.
org.xbmc.android.jsonrpc.config.HostConfig.HostConfig | ( | String | address, |
int | httpPort | ||
) | [inline] |
Creates a new XBMC host object.
address | IP or host adress of XBMC |
httpPort | HTTP port where JSON-RPC sits (defaults to 8080 on any platform but Windows, where it's 80). |
Definition at line 65 of file HostConfig.java.
org.xbmc.android.jsonrpc.config.HostConfig.HostConfig | ( | String | address, |
int | httpPort, | ||
int | tcpPort | ||
) | [inline] |
Creates a new XBMC host object.
address | IP or host adress of XBMC |
httpPort | HTTP port where JSON-RPC sits (defaults to 8080 on any platform but Windows, where it's 80). |
tcpPort | TCP port of JSON-RPC (defauls to 9090). |
Definition at line 75 of file HostConfig.java.
org.xbmc.android.jsonrpc.config.HostConfig.HostConfig | ( | String | address, |
int | httpPort, | ||
String | username, | ||
String | password | ||
) | [inline] |
Creates a new XBMC host object.
address | IP or host adress of XBMC |
httpPort | HTTP port where JSON-RPC sits (defaults to 8080 on any platform but Windows, where it's 80). |
username | Username, if authentication enabled. |
password | Password, if authentication enabled. |
Definition at line 86 of file HostConfig.java.
org.xbmc.android.jsonrpc.config.HostConfig.HostConfig | ( | String | address, |
int | httpPort, | ||
int | tcpPort, | ||
String | username, | ||
String | password | ||
) | [inline] |
Creates a new XBMC host object.
address | IP or host adress of XBMC |
httpPort | HTTP port where JSON-RPC sits (defaults to 8080 on any platform but Windows, where it's 80). |
tcpPort | TCP port of JSON-RPC (defauls to 9090). |
username | Username, if authentication enabled. |
password | Password, if authentication enabled. |
Definition at line 98 of file HostConfig.java.
String org.xbmc.android.jsonrpc.config.HostConfig.getAddress | ( | ) | [inline] |
Definition at line 106 of file HostConfig.java.
int org.xbmc.android.jsonrpc.config.HostConfig.getHttpPort | ( | ) | [inline] |
Definition at line 110 of file HostConfig.java.
String org.xbmc.android.jsonrpc.config.HostConfig.getPassword | ( | ) | [inline] |
Definition at line 122 of file HostConfig.java.
int org.xbmc.android.jsonrpc.config.HostConfig.getTcpPort | ( | ) | [inline] |
Definition at line 114 of file HostConfig.java.
String org.xbmc.android.jsonrpc.config.HostConfig.getUsername | ( | ) | [inline] |
Definition at line 118 of file HostConfig.java.
final String org.xbmc.android.jsonrpc.config.HostConfig.mAddress |
IP or host name of XBMC.
Definition at line 34 of file HostConfig.java.
HTTP port where JSON-RPC sits (defaults to 8080 on any platform but Windows, where it's 80).
Definition at line 38 of file HostConfig.java.
final String org.xbmc.android.jsonrpc.config.HostConfig.mPassword |
Password, if authentication enabled.
Definition at line 50 of file HostConfig.java.
TCP port of JSON-RPC (defauls to 9090).
Definition at line 42 of file HostConfig.java.
final String org.xbmc.android.jsonrpc.config.HostConfig.mUsername |
Username, if authentication enabled.
Definition at line 46 of file HostConfig.java.