|
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.LowPanStats
public class LowPanStats
Field Summary | |
---|---|
protected int |
broadcastsFragmented
number of mesh broadcasts that required fragmentation (we don't fragment local broadcasts) |
protected int |
broadcastsQueueFull
number of packets intentionally dropped because we sent them |
protected int |
broadcastsReceived
broadcasts received |
protected int |
broadcastsSent
number of broadcasts sent |
protected int |
datagramsReassembled
number of packets reassembled |
protected int |
droppedBroadcasts
number of packets intentionally dropped because they didn't meet broadcast seqNo requirements |
protected int |
fragmentsReceived
number of packet fragments we received |
protected int |
meshBroadcastsForwarded
number of broadcast packets forwarded |
protected int |
meshBroadcastsReceived
broadcasts received |
protected int |
meshBroadcastsSent
number of mesh broadcasts sent |
protected int |
meshPacketsReceived
total mesh packets received |
protected int |
meshPacketsSent
mesh packets sent |
protected int |
nonMeshPacketsReceived
packets received without a mesh routing header (single hop); |
protected int |
nonMeshPacketsSent
non-mesh packets sent |
protected int |
packetsForwarded
number of packets forwarded through this node |
protected int |
packetsSent
number of packets sent |
protected int |
protocolCount
number of SPOT protocol handlers registered |
protected int |
protocolFamilyCount
number of non-SPOT protocol family handlers registered |
protected int |
protocolHandlerMissing
number of times we looked for a protocol handler, but failed |
protected int |
reassemblyExpired
number of packets we couldn't reassemble |
protected int |
ttlExpired
number of packets intentionally dropped because TTL expired |
protected int |
unicastsFragmented
number of datagrams that required fragmentation |
protected int |
unicastsReceived
full datagrams received |
protected int |
unicastsSent
Number of datagrams sent |
Constructor Summary | |
---|---|
LowPanStats()
Creates a new instance of LowPanStats |
|
LowPanStats(byte[] b)
Creates a new instance of LowPanStats |
Method Summary | |
---|---|
LowPanStats |
clone()
|
int |
getBroadcastsForwarded()
|
int |
getBroadcastsFragmented()
|
int |
getBroadcastsReceived()
|
int |
getBroadcastsSent()
|
int |
getDatagramsReassembled()
|
int |
getDroppedBroadcasts()
|
int |
getDroppedOwnBroadcasts()
|
int |
getFragmentsReceived()
|
int |
getMeshPacketsReceived()
|
int |
getMeshPacketsSent()
|
int |
getNonMeshPacketsReceived()
|
int |
getNonMeshPacketsSent()
|
int |
getPacketsForwarded()
|
int |
getPacketsSent()
|
int |
getProtocolCount()
|
int |
getProtocolFamilyCount()
|
int |
getProtocolHandlerMissing()
|
int |
getReassemblyExpired()
|
int |
getTTLExpired()
|
int |
getUnicastsFragmented()
|
int |
getUnicastsReceived()
|
int |
getUnicastsSent()
|
byte[] |
toByteArray()
|
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int protocolCount
protected int protocolFamilyCount
protected int protocolHandlerMissing
protected int unicastsSent
protected int unicastsFragmented
protected int nonMeshPacketsSent
protected int meshPacketsSent
protected int packetsSent
protected int broadcastsSent
protected int broadcastsReceived
protected int meshBroadcastsSent
protected int meshBroadcastsReceived
protected int broadcastsFragmented
protected int packetsForwarded
protected int meshBroadcastsForwarded
protected int ttlExpired
protected int droppedBroadcasts
protected int broadcastsQueueFull
protected int meshPacketsReceived
protected int nonMeshPacketsReceived
protected int datagramsReassembled
protected int reassemblyExpired
protected int fragmentsReceived
protected int unicastsReceived
Constructor Detail |
---|
public LowPanStats()
public LowPanStats(byte[] b)
Method Detail |
---|
public int getUnicastsSent()
public int getUnicastsFragmented()
public int getUnicastsReceived()
public int getBroadcastsSent()
public int getBroadcastsFragmented()
public int getBroadcastsReceived()
public int getPacketsSent()
public int getPacketsForwarded()
public int getBroadcastsForwarded()
public int getMeshPacketsReceived()
public int getMeshPacketsSent()
public int getNonMeshPacketsReceived()
public int getNonMeshPacketsSent()
public int getReassemblyExpired()
public int getTTLExpired()
public int getDatagramsReassembled()
public int getFragmentsReceived()
public int getProtocolCount()
public int getProtocolFamilyCount()
public int getProtocolHandlerMissing()
public int getDroppedBroadcasts()
public int getDroppedOwnBroadcasts()
public LowPanStats clone()
public byte[] toByteArray()
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class Object
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |