Package org.osgi.service.zigbee
Interface ZigBeeRoute
-
public interface ZigBeeRoute
This interface represents an entry of the RoutingTableListSee Table 2.128 RoutingTableList Record Format in ZIGBEE SPECIFICATION: 1_053474r17ZB_TSC-ZigBee-Specification.pdf.
- Author:
- $Id: 2280a7fd24619cb39295b2696b9701fc52e2596d $
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIVE
Constant value representing an active route.static int
DISCOVERY_FAILED
Constant value representing a failed route discovery.static int
DISCOVERY_UNDERWAY
Constant value representing a route that is under discovery.static int
INACTIVE
Constant value representing an inactive route.static int
VALIDATION_UNDERWAY
Constant value representing a route which is under validation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDestination()
Returns the service PID of theZigBeeNode
as destination of this route entry.java.lang.String
getNextHop()
Returns the service PID of theZigBeeNode
to send the data for reaching the destination.int
getStatus()
Returns the status of this route.
-
-
-
Field Detail
-
ACTIVE
static final int ACTIVE
Constant value representing an active route.- See Also:
- Constant Field Values
-
DISCOVERY_UNDERWAY
static final int DISCOVERY_UNDERWAY
Constant value representing a route that is under discovery.- See Also:
- Constant Field Values
-
DISCOVERY_FAILED
static final int DISCOVERY_FAILED
Constant value representing a failed route discovery.- See Also:
- Constant Field Values
-
INACTIVE
static final int INACTIVE
Constant value representing an inactive route.- See Also:
- Constant Field Values
-
VALIDATION_UNDERWAY
static final int VALIDATION_UNDERWAY
Constant value representing a route which is under validation.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDestination
java.lang.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
java.lang.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
.
-
-