SunSPOT API V5.0


com.sun.spot.peripheral.basestation
Class MLMESetCommand

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

public class MLMESetCommand
extends MACCommand


Field Summary
 
Fields inherited from class com.sun.spot.peripheral.basestation.MACCommand
ExitCommand, GetChannelAccessFailureCommand, GetNoAckCommand, GetNullPacketAfterAckWaitCommand, GetRadioPropertyCommand, GetRxErrorCommand, GetWrongAckCommand, MCPSDataIndicationCommand, MCPSDataRequestCommand, MLMEGetCommand, MLMEResetCommand, MLMERxEnableCommand, MLMESetCommand, MLMEStartCommand, ResetErrorCountersCommand, ResetProxyCommand, SetPLMEChannelCommand, SetPLMETransmitPowerCommand
 
Constructor Summary
MLMESetCommand()
           
 
Method Summary
protected  byte classIndicatorByte()
           
 void populateFrom(byte[] inputBuffer, int startingOffset)
           
protected  void prepareResultOrExecute(I802_15_4_MAC mac)
           
 ICommand with(int attribute, long value)
           
protected  void writeParametersOnto(DataOutputStream dataOutputStream)
           
 
Methods inherited from class com.sun.spot.peripheral.basestation.MACCommand
getTimeout, getUID, readResultFrom, resultFrom, setUID, writeOnto, writePreparedResult, writeResultOnto
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MLMESetCommand

public MLMESetCommand()
Method Detail

with

public ICommand with(int attribute,
                     long value)

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

classIndicatorByte

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

SunSPOT API V5.0


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