Doug Anson / mbedConnectorInterface

Dependents:   IoT_LED_demo ServoTest uWater_Project hackathon ... more

Embed: (wiki syntax)

« Back to documentation index

Endpoint Class Reference

Endpoint class. More...

#include <ConnectorEndpoint.h>

Public Member Functions

 Endpoint (const Logger *logger, const Options *ob)
 Default Constructor.
 Endpoint (const Endpoint &ep)
 Copy Constructor.
virtual ~Endpoint ()
 Destructor.
void register_endpoint ()
 Register the endpoint with mbed Device Server.

Static Public Member Functions

static void plumbNetwork (bool canActAsRouterNode=false)
 Plumb the lower RF network stack.
static void start ()
 Initialize the endpoint's configuration and begin the endpoint's main even loop.

Detailed Description

Endpoint class.

Definition at line 37 of file ConnectorEndpoint.h.


Constructor & Destructor Documentation

Endpoint ( const Logger logger,
const Options ob 
)

Default Constructor.

Definition at line 63 of file ConnectorEndpoint.cpp.

Endpoint ( const Endpoint ep )

Copy Constructor.

Parameters:
obinput endpoint instance to deep copy

Definition at line 70 of file ConnectorEndpoint.cpp.

~Endpoint (  ) [virtual]

Destructor.

Definition at line 77 of file ConnectorEndpoint.cpp.


Member Function Documentation

void plumbNetwork ( bool  canActAsRouterNode = false ) [static]

Plumb the lower RF network stack.

Parameters:
canActAsRouterNodeinput boolean indicating whether this node can act as a router node or not.

Definition at line 32 of file ConnectorEndpoint.cpp.

void register_endpoint (  )

Register the endpoint with mbed Device Server.

Definition at line 82 of file ConnectorEndpoint.cpp.

void start (  ) [static]

Initialize the endpoint's configuration and begin the endpoint's main even loop.

Definition at line 47 of file ConnectorEndpoint.cpp.