Class SysexCommand
- java.lang.Object
-
- org.apache.plc4x.java.firmata.readwrite.SysexCommand
-
- All Implemented Interfaces:
Message,Serializable
- Direct Known Subclasses:
SysexCommandAnalogMappingQueryRequest,SysexCommandAnalogMappingQueryResponse,SysexCommandAnalogMappingResponse,SysexCommandCapabilityQuery,SysexCommandCapabilityResponse,SysexCommandExtendedAnalog,SysexCommandExtendedId,SysexCommandPinStateQuery,SysexCommandPinStateResponse,SysexCommandReportFirmwareRequest,SysexCommandReportFirmwareResponse,SysexCommandSamplingInterval,SysexCommandStringData,SysexCommandSysexNonRealtime,SysexCommandSysexRealtime
public abstract class SysexCommand extends Object implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSysexCommand.SysexCommandBuilder
-
Constructor Summary
Constructors Constructor Description SysexCommand()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)abstract ShortgetCommandType()intgetLengthInBits()intgetLengthInBytes()abstract BooleangetResponse()inthashCode()voidserialize(WriteBuffer writeBuffer)protected abstract voidserializeSysexCommandChild(WriteBuffer writeBuffer)static SysexCommandstaticParse(ReadBuffer readBuffer, Boolean response)static SysexCommandstaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Method Detail
-
getCommandType
public abstract Short getCommandType()
-
getResponse
public abstract Boolean getResponse()
-
serializeSysexCommandChild
protected abstract void serializeSysexCommandChild(WriteBuffer writeBuffer) throws SerializationException
- Throws:
SerializationException
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage
-
staticParse
public static SysexCommand staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static SysexCommand staticParse(ReadBuffer readBuffer, Boolean response) throws ParseException
- Throws:
ParseException
-
-