SunSPOT API V3.0


com.sun.spot.peripheral.radio
Class RetransmitTimer

java.lang.Object
  extended by java.util.TimerTask
      extended by com.sun.spot.peripheral.radio.RetransmitTimer
All Implemented Interfaces:
Runnable

public class RetransmitTimer
extends TimerTask


Constructor Summary
RetransmitTimer(byte seqNo, com.sun.spot.peripheral.radio.ConnectionState cs, RadiostreamProtocolManager spm)
          Creates a new instance of RetransmitTimer
 
Method Summary
 void run()
          This method is called by a timer after the retransmit timeout expires.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetransmitTimer

public RetransmitTimer(byte seqNo,
                       com.sun.spot.peripheral.radio.ConnectionState cs,
                       RadiostreamProtocolManager spm)
Creates a new instance of RetransmitTimer

Method Detail

run

public void run()
This method is called by a timer after the retransmit timeout expires. It calls the ProtocolManager's retransmit() method

Specified by:
run in interface Runnable
Specified by:
run in class TimerTask
See Also:
Thread.run()

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.