com.sun.spot.peripheral.radio
Class LowPanHeaderInfo
java.lang.Object
com.sun.spot.peripheral.radio.HeaderInfoBase
com.sun.spot.peripheral.radio.LowPanHeaderInfo
public class LowPanHeaderInfo
- extends HeaderInfoBase
LowPanHeaderInfo.java
This class provides access
to information that is stored in headers that are not existing any more after
the decapsulation process that takes place in the low pan layer.
- Author:
- Jochen Furthmueller
Constructor Summary |
LowPanHeaderInfo(long destinationAddress,
long sourceAddress,
int rssi,
int corr,
int linkQuality,
int destinationPanID,
int sourcePanID,
boolean fragmented,
long originator,
long finalDestination,
byte hopCount,
long timestamp)
Creates a new instance of LowPanHeaderInfo |
Method Summary |
String |
getProperty(String key)
Gives access to properties of headers that have been stripped away during
processing of the packet. |
rssi
public int rssi
corr
public int corr
linkQuality
public int linkQuality
originator
public long originator
timestamp
public long timestamp
LowPanHeaderInfo
public LowPanHeaderInfo(long destinationAddress,
long sourceAddress,
int rssi,
int corr,
int linkQuality,
int destinationPanID,
int sourcePanID,
boolean fragmented,
long originator,
long finalDestination,
byte hopCount,
long timestamp)
- Creates a new instance of LowPanHeaderInfo
getProperty
public String getProperty(String key)
- Gives access to properties of headers that have been stripped away during
processing of the packet. This method should be overwritten by extending
classes, according to their header fields.
- Overrides:
getProperty
in class HeaderInfoBase
- Returns:
- property string representation of the property that was asked for
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.