Package org.osgi.service.zigbee
Interface ZigBeeRoute
public interface ZigBeeRoute
This interface represents an entry of the RoutingTableList
See Table 2.128 RoutingTableList Record Format in ZIGBEE SPECIFICATION: 1_053474r17ZB_TSC-ZigBee-Specification.pdf.
- "Consumers of this API must not implement this interface"
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant value representing an active route.static final int
Constant value representing a failed route discovery.static final int
Constant value representing a route that is under discovery.static final int
Constant value representing an inactive route.static final int
Constant value representing a route which is under validation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the service PID of theZigBeeNode
as destination of this route entry.Returns the service PID of theZigBeeNode
to send the data for reaching the destination.int
Returns the status of this route.
-
Field Details
-
ACTIVE
static final int ACTIVEConstant value representing an active route.- See Also:
-
DISCOVERY_UNDERWAY
static final int DISCOVERY_UNDERWAYConstant value representing a route that is under discovery.- See Also:
-
DISCOVERY_FAILED
static final int DISCOVERY_FAILEDConstant value representing a failed route discovery.- See Also:
-
INACTIVE
static final int INACTIVEConstant value representing an inactive route.- See Also:
-
VALIDATION_UNDERWAY
static final int VALIDATION_UNDERWAYConstant value representing a route which is under validation.- See Also:
-
-
Method Details
-
getDestination
String getDestination()Returns the service PID of theZigBeeNode
as destination of this route entry.- Returns:
- the service PID of the
ZigBeeNode
as destination of this route entry.
-
getNextHop
String getNextHop()Returns the service PID of theZigBeeNode
to send the data for reaching the destination.- Returns:
- the service PID of the
ZigBeeNode
to send the data for reaching the destination.
-
getStatus
int getStatus()Returns the status of this route.- Returns:
- the status of this route (or routing link) as defined by ZigBee
Specification:
ACTIVE
,DISCOVERY_UNDERWAY
,DISCOVERY_FAILED
,INACTIVE
,VALIDATION_UNDERWAY
.
-