C# Class hubiquitus4w8.hapi.hStructures.HStatus

Version 0.5 This structure describe the connection status
Inheritance: Newtonsoft.Json.Linq.JObject
Show file Open project: hubiquitus-old/hubiquitus4w8 Class Usage Examples

Public Methods

Method Description
GetErrorCode ( ) : ConnectionErrors?

Get the error of connction. Null if undefined.

GetErrorMsg ( ) : string

Get error message of connection. Null if undefined.

GetStatus ( ) : ConnectionStatus?

Get the status of connection. Null if not defined.

HStatus ( ) : System
HStatus ( Newtonsoft.Json.Linq.JObject jsonObj ) : System
SetErrorCode ( ConnectionErrors errorCode ) : void
SetErrorMsg ( string errorMsg ) : void
SetStatus ( ConnectionStatus status ) : void

Method Details

GetErrorCode() public method

Get the error of connction. Null if undefined.
public GetErrorCode ( ) : ConnectionErrors?
return ConnectionErrors?

GetErrorMsg() public method

Get error message of connection. Null if undefined.
public GetErrorMsg ( ) : string
return string

GetStatus() public method

Get the status of connection. Null if not defined.
public GetStatus ( ) : ConnectionStatus?
return ConnectionStatus?

HStatus() public method

public HStatus ( ) : System
return System

HStatus() public method

public HStatus ( Newtonsoft.Json.Linq.JObject jsonObj ) : System
jsonObj Newtonsoft.Json.Linq.JObject
return System

SetErrorCode() public method

public SetErrorCode ( ConnectionErrors errorCode ) : void
errorCode ConnectionErrors
return void

SetErrorMsg() public method

public SetErrorMsg ( string errorMsg ) : void
errorMsg string
return void

SetStatus() public method

public SetStatus ( ConnectionStatus status ) : void
status ConnectionStatus
return void