|
BowlerKernel
|


Public Member Functions | |
| GetChannelModeCommand () | |
| GetChannelModeCommand (int channel) | |
| BowlerDatagram | validate (BowlerDatagram data) throws InvalidResponseException |
Public Member Functions inherited from com.neuronrobotics.sdk.common.BowlerAbstractCommand | |
| byte[] | getCallingData () |
| void | setOpCode (String opCode) |
| String | getOpCode () |
| void | setMethod (BowlerMethod method) |
| BowlerMethod | getMethod () |
| byte | getLength () |
| byte[] | getBytes () |
| String | toString () |
| void | setData (ByteList data) |
| ByteList | getCallingDataStorage () |
| void | setNamespaceIndex (int namespaceIndex) |
| int | getNamespaceIndex () |
Additional Inherited Members | |
Static Public Member Functions inherited from com.neuronrobotics.sdk.common.BowlerAbstractCommand | |
| static BowlerAbstractCommand | parse (BowlerDatagram data) |
The Class GetChannelModeCommand.
Definition at line 27 of file GetChannelModeCommand.java.
| com.neuronrobotics.sdk.commands.bcs.io.GetChannelModeCommand.GetChannelModeCommand | ( | ) |
Instantiates a new gets the channel mode command.
Definition at line 32 of file GetChannelModeCommand.java.
References com.neuronrobotics.sdk.common.BowlerMethod.GET, com.neuronrobotics.sdk.common.BowlerAbstractCommand.setMethod(), and com.neuronrobotics.sdk.common.BowlerAbstractCommand.setOpCode().

| com.neuronrobotics.sdk.commands.bcs.io.GetChannelModeCommand.GetChannelModeCommand | ( | int | channel | ) |
Instantiates a new gets the channel mode command.
| channel | the channel |
Definition at line 42 of file GetChannelModeCommand.java.
References com.neuronrobotics.sdk.common.ByteList.add(), com.neuronrobotics.sdk.common.BowlerMethod.GET, com.neuronrobotics.sdk.common.BowlerAbstractCommand.getCallingDataStorage(), com.neuronrobotics.sdk.common.BowlerAbstractCommand.setMethod(), and com.neuronrobotics.sdk.common.BowlerAbstractCommand.setOpCode().

| BowlerDatagram com.neuronrobotics.sdk.commands.bcs.io.GetChannelModeCommand.validate | ( | BowlerDatagram | data | ) | throws InvalidResponseException |
Determine if the return response was successful; throw an InvalidResponseExpection otherwise. Commands with more complicated validation should override this method and provide more specific checking.
| data | the data |
| InvalidResponseException | the invalid response exception |
Reimplemented from com.neuronrobotics.sdk.common.BowlerAbstractCommand.
Definition at line 52 of file GetChannelModeCommand.java.
References com.neuronrobotics.sdk.common.BowlerAbstractCommand.data, com.neuronrobotics.sdk.common.Log.error(), com.neuronrobotics.sdk.common.BowlerAbstractCommand.getOpCode(), and com.neuronrobotics.sdk.common.ByteList.size().
