public interface OwnerState
DataPathId
.Modifier and Type | Method and Description |
---|---|
List<String> |
changeLog()
Returns the change log entries.
|
DataPathId |
dataPathId()
Returns the datapath IP.
|
IpAddress |
deviceIp()
Returns the device IP.
|
boolean |
isLocalControllerConnected()
Returns
true if the datapath can be considered connected. |
boolean |
isOwner(IpAddress controllerIp)
Returns true if the controller IP is the owner.
|
boolean |
isReady()
Returns
true if the datapath can be considered ready. |
IpAddress |
ownerIp()
Returns the owner controller IP or
null . |
DataPathId dataPathId()
IpAddress deviceIp()
IpAddress ownerIp()
null
.null
boolean isOwner(IpAddress controllerIp)
controllerIp
- controller IPtrue
if the controller IP is the owner,
false
otherwiseboolean isReady()
true
if the datapath can be considered ready.true
if the datapath is ready, false
otherwiseboolean isLocalControllerConnected()
true
if the datapath can be considered connected.true
if the datapath is connected, false
otherwiseCopyright © 2015. All Rights Reserved.