com.sun.spot.peripheral.basestation
Interface ICommand
- All Known Implementing Classes:
- GetChannelAccessFailureCommand, GetNoAckCommand, GetNullPacketAfterAckWaitCommand, GetPLMETransmitCommand, GetWrongAckCommand, MACCommand, MCPSDataIndicationCommand, MCPSDataRequestCommand, MLMEGetCommand, MLMEResetCommand, MLMERxEnableCommand, MLMESetCommand, MLMEStartCommand, NoArgIntParameterCommand, ResetProxyCommand, SetPLMETransmitPowerCommand
public interface ICommand
writeOnto
void writeOnto(DataOutputStream dataOutputStream)
throws IOException
- Throws:
IOException
populateFrom
void populateFrom(byte[] inputBuffer,
int startingOffset)
throws IOException
- Throws:
IOException
writeResultOnto
int writeResultOnto(byte[] outputBuffer,
int startingOffset,
I802_15_4_MAC mac)
throws IOException
- Write the result onto the outputBuffer byte array, starting at startingOffset.
Answer the number of bytes that you actually wrote.
- Throws:
IOException
resultFrom
Object resultFrom(DataInputStream dataInputStream,
ICreateExceptions exceptionCreator)
throws Throwable
- Throws:
Throwable
setUID
void setUID(int uid)
getUID
int getUID()
getTimeout
long getTimeout()
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.