Doug Anson / mbedConnectorInterfaceV3
Embed: (wiki syntax)

« Back to documentation index

Options Class Reference

Options Class Reference

Options class. More...

#include <Options.h>

Inherited by OptionsBuilder [private].

Public Member Functions

 Options ()
 Default constructor.
 Options (const Options &opt)
 Copy constructor.
virtual ~Options ()
 Destructor.
int getLifetime ()
 Get the node lifetime.
string getDomain ()
 Get the NSP domain.
string getEndpointNodename ()
 Get the node name.
string getEndpointType ()
 Get the node type.
int getRegUpdatePeriod ()
 Get the mbed registration update period.
char * getConnectorURL ()
 Get the endpoint Connector URL.
uint16_t getConnectorPort ()
 Get the connector connection port from the URL.
DeviceResourcesList * getDeviceResourceList ()
 Get the list of device resources.
StaticResourcesList * getStaticResourceList ()
 Get the list of static resources.
DynamicResourcesList * getDynamicResourceList ()
 Get the list of dynamic resources.
string getWiFiSSID ()
 Get the WiFi SSID.
WiFiAuthTypes getWiFiAuthType ()
 Get the WiFi Auth Type.
string getWiFiAuthKey ()
 Get the WiFi Auth Key.
unsigned char * getPreSharedKey ()
 Get the 802.15.4 Pre Shared Key.
unsigned char * getPreSharedKeyIdentity ()
 Get the 802.15.4 Pre Shared Key Identity.
MeshTypes getMeshType ()
 Get the 802.15.14 Mesh Type.
CoAPConnectionTypes getCoAPConnectionType ()
 Get the CoAP Connection Type.
IPAddressTypes getIPAddressType ()
 Get the IP Address Type.
bool immedateObservationEnabled ()
 Enable/Disable Immediate Observationing.
bool enableGETObservationControl ()
 Enable/Disable Observation control via GET.
uint8_t * getServerCertificate ()
 Get the Server Certificate.
int getServerCertificateSize ()
 Get the Server Certificate Size (bytes)
uint8_t * getClientCertificate ()
 Get the Client Certificate.
int getClientCertificateSize ()
 Get the Client Certificate Size (bytes)
uint8_t * getClientKey ()
 Get the Client Key.
int getClientKeySize ()
 Get the Client Key Size (bytes)
void * getEndpoint ()
 Get Our Endpoint.

Detailed Description

Options class.

Definition at line 87 of file Options.h.


Constructor & Destructor Documentation

Options (  )

Default constructor.

Definition at line 29 of file Options.cpp.

Options ( const Options opt )

Copy constructor.

Definition at line 34 of file Options.cpp.

~Options (  ) [virtual]

Destructor.

Definition at line 39 of file Options.cpp.


Member Function Documentation

bool enableGETObservationControl (  )

Enable/Disable Observation control via GET.

Definition at line 149 of file Options.cpp.

uint8_t * getClientCertificate (  )

Get the Client Certificate.

Definition at line 164 of file Options.cpp.

int getClientCertificateSize (  )

Get the Client Certificate Size (bytes)

Definition at line 169 of file Options.cpp.

uint8_t * getClientKey (  )

Get the Client Key.

Definition at line 174 of file Options.cpp.

int getClientKeySize (  )

Get the Client Key Size (bytes)

Definition at line 179 of file Options.cpp.

CoAPConnectionTypes getCoAPConnectionType (  )

Get the CoAP Connection Type.

Definition at line 134 of file Options.cpp.

uint16_t getConnectorPort (  )

Get the connector connection port from the URL.

Definition at line 80 of file Options.cpp.

char * getConnectorURL (  )

Get the endpoint Connector URL.

Definition at line 74 of file Options.cpp.

DeviceResourcesList * getDeviceResourceList (  )

Get the list of device resources.

Definition at line 86 of file Options.cpp.

string getDomain (  )

Get the NSP domain.

Definition at line 50 of file Options.cpp.

DynamicResourcesList * getDynamicResourceList (  )

Get the list of dynamic resources.

Definition at line 98 of file Options.cpp.

void * getEndpoint (  )

Get Our Endpoint.

Definition at line 184 of file Options.cpp.

string getEndpointNodename (  )

Get the node name.

Definition at line 56 of file Options.cpp.

string getEndpointType (  )

Get the node type.

Definition at line 62 of file Options.cpp.

IPAddressTypes getIPAddressType (  )

Get the IP Address Type.

Definition at line 139 of file Options.cpp.

int getLifetime (  )

Get the node lifetime.

Definition at line 44 of file Options.cpp.

MeshTypes getMeshType (  )

Get the 802.15.14 Mesh Type.

Definition at line 129 of file Options.cpp.

unsigned char * getPreSharedKey (  )

Get the 802.15.4 Pre Shared Key.

Definition at line 119 of file Options.cpp.

unsigned char * getPreSharedKeyIdentity (  )

Get the 802.15.4 Pre Shared Key Identity.

Definition at line 124 of file Options.cpp.

int getRegUpdatePeriod (  )

Get the mbed registration update period.

Definition at line 68 of file Options.cpp.

uint8_t * getServerCertificate (  )

Get the Server Certificate.

Definition at line 154 of file Options.cpp.

int getServerCertificateSize (  )

Get the Server Certificate Size (bytes)

Definition at line 159 of file Options.cpp.

StaticResourcesList * getStaticResourceList (  )

Get the list of static resources.

Definition at line 92 of file Options.cpp.

string getWiFiAuthKey (  )

Get the WiFi Auth Key.

Definition at line 114 of file Options.cpp.

WiFiAuthTypes getWiFiAuthType (  )

Get the WiFi Auth Type.

Definition at line 109 of file Options.cpp.

string getWiFiSSID (  )

Get the WiFi SSID.

Definition at line 104 of file Options.cpp.

bool immedateObservationEnabled (  )

Enable/Disable Immediate Observationing.

Definition at line 144 of file Options.cpp.