SunSPOT API V3.0


com.sun.spot.peripheral.basestation
Class MLMEGetCommand

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

public class MLMEGetCommand
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
MLMEGetCommand()
           
 
Method Summary
protected  byte classIndicatorByte()
           
 void populateFrom(byte[] inputBuffer, int startingOffset)
           
protected  void prepareResultOrExecute(I802_15_4_MAC mac)
           
protected  Object readResultFrom(DataInputStream dataInputStream)
           
 MLMEGetCommand with(int attribute)
           
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

MLMEGetCommand

public MLMEGetCommand()
Method Detail

with

public MLMEGetCommand with(int attribute)

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.