CoapObserveClientRelation class
Represents a CoAP observe relation between a CoAP client and a resource on a server. Provides a simple API to check whether a relation has successfully established and to cancel or refresh the relation.
Constructors
- CoapObserveClientRelation(CoapRequest _request)
- Construction
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCancelled ↔ bool
-
Cancelled
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
CoapRespondEvent> -
Response stream
no setter
Methods
-
newCancel(
) → CoapRequest - Create a cancellation request
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited