SunSPOT API V3.0


com.sun.spot.peripheral.basestation
Class MCPSDataRequestCommand

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

public class MCPSDataRequestCommand
extends MACCommand


Field Summary
 
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
MCPSDataRequestCommand()
           
 
Method Summary
protected  byte classIndicatorByte()
           
 void populateFrom(byte[] inputBuffer, int startingOffset)
           
protected  void prepareResultOrExecute(I802_15_4_MAC mac)
           
protected  Object readResultFrom(DataInputStream dataInputStream)
           
 ICommand with(RadioPacket rp)
           
protected  void writeParametersOnto(DataOutputStream dataOutputStream)
           
protected  int writePreparedResult(byte[] outputBuffer, int startingOffset)
           
 
Methods inherited from class com.sun.spot.peripheral.basestation.MACCommand
getTimeout, getUID, resultFrom, setUID, writeOnto, writeResultOnto
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCPSDataRequestCommand

public MCPSDataRequestCommand()
Method Detail

with

public ICommand with(RadioPacket rp)

writeParametersOnto

protected void writeParametersOnto(DataOutputStream dataOutputStream)
                            throws IOException
Overrides:
writeParametersOnto in class MACCommand
Throws:
IOException

populateFrom

public void populateFrom(byte[] inputBuffer,
                         int startingOffset)
                  throws IOException
Specified by:
populateFrom in interface ICommand
Overrides:
populateFrom in class MACCommand
Throws:
IOException

prepareResultOrExecute

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

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

SunSPOT API V3.0


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