Hubiquitus Android  0.6.1
Android client for hubiquitus protocol
org.hubiquitus.hapi.hStructures.HStatus Class Reference

Inherits JSONObject.

List of all members.

Public Member Functions

 HStatus (JSONObject jsonObj) throws JSONException
 HStatus (ConnectionStatus status, ConnectionError errorCode, String errorMsg) throws MissingAttrException
ConnectionStatus getStatus ()
void setStatus (ConnectionStatus status) throws MissingAttrException
ConnectionError getErrorCode ()
void setErrorCode (ConnectionError errorCode) throws MissingAttrException
String getErrorMsg ()
void setErrorMsg (String errorMsg)

Package Attributes

final Logger logger = LoggerFactory.getLogger(HStatus.class)

Detailed Description

Version:
0.6 This structure describe the connection status

Member Function Documentation

Mandatory. Valid only if status = error

Returns:
error code. NULL if undefined

Error message. Platform dependent (low level layer messages) Should only be used for debug

Returns:
error message. NULL if undefined

Mandatory. Connection status.

Returns:
status. NULL if undefined

The documentation for this class was generated from the following file:
 All Classes Functions Variables