-
Notifications
You must be signed in to change notification settings - Fork 19
CoapServer
This class provides the basic implementation for a CoAP server.
The following are named parameters that can be used by constructors.
ports: Array of port numbers to bind to. If not provided, then the UDP default is used.
config: configuration interface with defaults. See ICoapConfig. If not provided then the default configuration is used.
Config: Configuration used by the server.
EndPoints: Get an enumeration of the endpoints.
MessageDeliverer: Get/Set the message delivery interface. This class deals with the delivering requests to the resource.
Add: Add one or more resources to the server.
AddEndPoint: Add an endpoint to the server.
Dispose: Release resources associated with the server and all associated end points.
FindEndPoint: Given an local endpoint information, return the associated endpoint object.
Remove: Remove a resource from the server.
Start: Start the server and all end points associated with the server.
Stop: Stop the server and all associated end points.