SunSPOT API V3.0


com.sun.spot.peripheral.basestation
Class MCPSDataIndicationCommand

java.lang.Object
  extended by com.sun.spot.peripheral.basestation.MACCommand
      extended by com.sun.spot.peripheral.basestation.MCPSDataIndicationCommand
All Implemented Interfaces:
ICommand

public class MCPSDataIndicationCommand
extends MACCommand


Field Summary
protected static int INCOMING_QUEUE_HIGH_WATER
           
protected static int INCOMING_QUEUE_LOW_WATER
           
protected  boolean stopped
           
 
Fields inherited from class com.sun.spot.peripheral.basestation.MACCommand
GetChannelAccessFailureCommand, GetNoAckCommand, GetNullPacketAfterAckWaitCommand, GetPLMETransmitCommand, GetWrongAckCommand, MCPSDataIndicationCommand, MCPSDataRequestCommand, MLMEGetCommand, MLMEResetCommand, MLMERxEnableCommand, MLMESetCommand, MLMEStartCommand, ResetProxyCommand, SetPLMETransmitPowerCommand
 
Constructor Summary
MCPSDataIndicationCommand()
           
 
Method Summary
protected  byte classIndicatorByte()
           
protected  void prepareResultOrExecute(I802_15_4_MAC mac)
           
protected  Object readResultFrom(DataInputStream dataInputStream)
           
 void reset()
           
 MCPSDataIndicationCommand with(I802_15_4_MAC mac)
           
protected  int writePreparedResult(byte[] outputBuffer, int startingOffset)
           
 
Methods inherited from class com.sun.spot.peripheral.basestation.MACCommand
getTimeout, getUID, populateFrom, resultFrom, setUID, writeOnto, writeParametersOnto, writeResultOnto
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INCOMING_QUEUE_HIGH_WATER

protected static final int INCOMING_QUEUE_HIGH_WATER
See Also:
Constant Field Values

INCOMING_QUEUE_LOW_WATER

protected static final int INCOMING_QUEUE_LOW_WATER
See Also:
Constant Field Values

stopped

protected boolean stopped
Constructor Detail

MCPSDataIndicationCommand

public MCPSDataIndicationCommand()
Method Detail

with

public MCPSDataIndicationCommand with(I802_15_4_MAC mac)

prepareResultOrExecute

protected void prepareResultOrExecute(I802_15_4_MAC mac)
                               throws InterruptedException
Specified by:
prepareResultOrExecute in class MACCommand
Throws:
InterruptedException

writePreparedResult

protected int writePreparedResult(byte[] outputBuffer,
                                  int startingOffset)
                           throws IOException
Overrides:
writePreparedResult in class MACCommand
Throws:
IOException

readResultFrom

protected Object readResultFrom(DataInputStream dataInputStream)
                         throws IOException
Overrides:
readResultFrom in class MACCommand
Throws:
IOException

classIndicatorByte

protected byte classIndicatorByte()
Specified by:
classIndicatorByte in class MACCommand

reset

public void reset()

SunSPOT API V3.0


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