Public Member Functions | Public Attributes
org.xbmc.android.jsonrpc.config.HostConfig Class Reference

List of all members.

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

Detailed Description

A set of configuration data needed to connect to an XBMC host.

Author:
freezy <freezy@xbmc.org>

Definition at line 29 of file HostConfig.java.


Constructor & Destructor Documentation

Creates a new XBMC host object.

Parameters:
addressIP 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.

Parameters:
addressIP or host adress of XBMC
httpPortHTTP 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.

Parameters:
addressIP or host adress of XBMC
httpPortHTTP port where JSON-RPC sits (defaults to 8080 on any platform but Windows, where it's 80).
tcpPortTCP 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.

Parameters:
addressIP or host adress of XBMC
httpPortHTTP port where JSON-RPC sits (defaults to 8080 on any platform but Windows, where it's 80).
usernameUsername, if authentication enabled.
passwordPassword, 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.

Parameters:
addressIP or host adress of XBMC
httpPortHTTP port where JSON-RPC sits (defaults to 8080 on any platform but Windows, where it's 80).
tcpPortTCP port of JSON-RPC (defauls to 9090).
usernameUsername, if authentication enabled.
passwordPassword, if authentication enabled.

Definition at line 98 of file HostConfig.java.


Member Function Documentation

Definition at line 106 of file HostConfig.java.

Definition at line 110 of file HostConfig.java.

Definition at line 122 of file HostConfig.java.

Definition at line 114 of file HostConfig.java.

Definition at line 118 of file HostConfig.java.


Member Data Documentation

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.

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.

Username, if authentication enabled.

Definition at line 46 of file HostConfig.java.


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


smarthome_media_kodi_driver
Author(s): Mickael Gaillard , Erwan Le Huitouze
autogenerated on Thu Jun 6 2019 21:03:51