public class ObserveRelation extends Object implements org.eclipse.californium.core.CoapHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onError()
Callback for error processing.
|
void |
onLoad(org.eclipse.californium.core.CoapResponse response)
Callback for processing notifications.
|
void |
resume()
Resume observing after error.
|
void |
start()
Start observing.
|
void |
stop()
Stop observing with defaults.
|
void |
stop(Boolean proactiveCancel,
Boolean confirmable)
Stop observing.
|
String |
toString()
Get String representation.
|
public void start()
public void resume()
public void stop()
public void stop(Boolean proactiveCancel, Boolean confirmable)
proactiveCancel - If true, a cancellation message is sent to the server.confirmable - If true, a cancellation message sent is confirmable.public void onError()
onError in interface org.eclipse.californium.core.CoapHandlerpublic void onLoad(org.eclipse.californium.core.CoapResponse response)
onLoad in interface org.eclipse.californium.core.CoapHandlerCopyright © 2019–2025 Teslanet.nl. All rights reserved.