SunSPOT API V5.0


com.sun.spot.peripheral.radio.mhrp.lqrp.linkParams
Class NodeLifetime

java.lang.Object
  extended by com.sun.spot.peripheral.radio.mhrp.lqrp.linkParams.NodeLifetime

public class NodeLifetime
extends Object

Author:
pradip de pradip.de@sun.com

Method Summary
 void calcNodeEnergyBurnRate()
           
 double calcRecvEnergyForBytes(long byteSize)
           
 double calcTransEnergyForBytes(long byteSize)
           
 double getNormNodeLifetime()
           
 void incBytesRecvdCount(int bytes)
           
 void incBytesTransCount(int bytes)
           
 void updateBytesProcInSlot()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

incBytesTransCount

public void incBytesTransCount(int bytes)

incBytesRecvdCount

public void incBytesRecvdCount(int bytes)

calcTransEnergyForBytes

public double calcTransEnergyForBytes(long byteSize)

calcRecvEnergyForBytes

public double calcRecvEnergyForBytes(long byteSize)

updateBytesProcInSlot

public void updateBytesProcInSlot()

calcNodeEnergyBurnRate

public void calcNodeEnergyBurnRate()

getNormNodeLifetime

public double getNormNodeLifetime()

SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.