Yet Another WebIOPi+
 All Classes Namespaces Files Functions Variables Macros Pages
Public Member Functions | Private Attributes | List of all members
com.trouch.webiopi.client.PiMixedClient Class Reference
Inheritance diagram for com.trouch.webiopi.client.PiMixedClient:
com.trouch.webiopi.client.PiClient

Public Member Functions

 PiMixedClient (String host)
 
 PiMixedClient (String host, int httpPort, int coapPort)
 
void setCredentials (String login, String password)
 
String sendRequest (String method, String path) throws Exception
 
- Public Member Functions inherited from com.trouch.webiopi.client.PiClient
 PiClient (String protocol, String host, int port)
 
void setCredentials (String login, String password)
 
abstract String sendRequest (String method, String path) throws Exception
 

Private Attributes

PiHttpClient http
 
PiCoapClient coap
 
int tries = 0
 
int maxTries = 3
 

Additional Inherited Members

- Static Public Member Functions inherited from com.trouch.webiopi.client.PiClient
static String encodeCredentials (String login, String password)
 
- Protected Attributes inherited from com.trouch.webiopi.client.PiClient
String urlBase
 
String auth
 

Detailed Description

Definition at line 17 of file PiMixedClient.java.

Constructor & Destructor Documentation

com.trouch.webiopi.client.PiMixedClient.PiMixedClient ( String  host)

Definition at line 24 of file PiMixedClient.java.

com.trouch.webiopi.client.PiMixedClient.PiMixedClient ( String  host,
int  httpPort,
int  coapPort 
)

Definition at line 30 of file PiMixedClient.java.

Member Function Documentation

String com.trouch.webiopi.client.PiMixedClient.sendRequest ( String  method,
String  path 
) throws Exception
void com.trouch.webiopi.client.PiMixedClient.setCredentials ( String  login,
String  password 
)

Member Data Documentation

PiCoapClient com.trouch.webiopi.client.PiMixedClient.coap
private

Definition at line 19 of file PiMixedClient.java.

PiHttpClient com.trouch.webiopi.client.PiMixedClient.http
private

Definition at line 18 of file PiMixedClient.java.

int com.trouch.webiopi.client.PiMixedClient.maxTries = 3
private

Definition at line 22 of file PiMixedClient.java.

int com.trouch.webiopi.client.PiMixedClient.tries = 0
private

Definition at line 21 of file PiMixedClient.java.


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