public interface NetconfStreamHandler
| Modifier and Type | Method and Description |
|---|---|
void |
addDeviceEventListener(NetconfDeviceOutputEventListener listener)
Adds a listener for netconf events on the handled stream.
|
void |
removeDeviceEventListener(NetconfDeviceOutputEventListener listener)
Removes a listener for netconf events on the handled stream.
|
CompletableFuture<String> |
sendMessage(String request)
Sends the request on the stream that is used to communicate to and from the device.
|
void |
setEnableNotifications(boolean enableNotifications) |
CompletableFuture<String> sendMessage(String request)
request - request to send to the physical devicevoid addDeviceEventListener(NetconfDeviceOutputEventListener listener)
listener - Netconf device event listenervoid removeDeviceEventListener(NetconfDeviceOutputEventListener listener)
listener - Netconf device event listener@Beta void setEnableNotifications(boolean enableNotifications)