|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.spot.peripheral.radio.HeaderInfoBase
public class HeaderInfoBase
HeaderInfoBase.java This class is to be extended according to the used mac layer. See for example the LowPanHeaderInfo. This class and also extending classes provide 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.
Field Summary | |
---|---|
long |
destinationAddress
|
long |
sourceAddress
|
Constructor Summary | |
---|---|
HeaderInfoBase(long dest,
long src)
creates a new instance of the class HeaderInfoBase |
Method Summary | |
---|---|
String |
getProperty(String key)
Gives access to properties of headers that have been stripped away during processing of the packet. |
void |
setDestinationAddress(long addr)
Set the destination address of this header info. |
void |
setSourceAddress(long addr)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public long destinationAddress
public long sourceAddress
Constructor Detail |
---|
public HeaderInfoBase(long dest, long src)
Method Detail |
---|
public void setDestinationAddress(long addr)
public void setSourceAddress(long addr)
public String getProperty(String key)
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |