Skip to content

CoAPEndPoint

Jim Schaad edited this page Jun 29, 2017 · 1 revision

CoAPEndPoint

The CoAPEndPoint class encapsulate the stack that executes the CoAP protocol.

Properties

Config: The configuration information used for the end point.

EndpointSchema: What is the schema supported by this endpoint.

Executor: How is execution done for when starting sub-tasks.

LocalEndPoint: What is the endpoint on the local machine for this connection.

MessageDecoder: Return the message coder used by the end point.

MessageDeliverer: Interface to the message deliverer object.

MessageEncoder: Return the message encoder used by the end point

Outbox: Retrieve the outbox being used.

Running: Has the end point been started?

Stack: Return the stack used by the end point

Event handlers

ReceivingEmptyMessage: Called when an empty message has been received.

ReceivingRequest: Called when a request has been received.

ReceivingResponse; Called when a response has been received

SendingEmptyMessage: Called when an empty message is about to be sent

SendingRequest: Called when a request is about to be sent

SendingResponse: Called when a response is about to be sent

Methods

Clear: Remove all entries from the matching cache

Dispose: Dispose of objects held

ReceiveData: Receive a blob of data from the channel and pus it to the stack.

SendEmptyMessage: Send an empty message to the stack

SendRequest: Send a request to the stack

SendResponse: Send a response to the stack

Start: Start the end point running

Stop: Stop the end point

Other

FindMessageDecoder: Create a message decoder object

FindMessageEncoder: Create a message encoder object

Clone this wiki locally