Class SDOResponse
- java.lang.Object
-
- org.apache.plc4x.java.canopen.readwrite.SDOResponse
-
- All Implemented Interfaces:
Message,Serializable
- Direct Known Subclasses:
SDOAbortResponse,SDOBlockResponse,SDOInitiateDownloadResponse,SDOInitiateUploadResponse,SDOSegmentDownloadResponse,SDOSegmentUploadResponse
public abstract class SDOResponse extends Object implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSDOResponse.SDOResponseBuilder
-
Constructor Summary
Constructors Constructor Description SDOResponse()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)abstract SDOResponseCommandgetCommand()intgetLengthInBits()intgetLengthInBytes()inthashCode()voidserialize(WriteBuffer writeBuffer)protected abstract voidserializeSDOResponseChild(WriteBuffer writeBuffer)static SDOResponsestaticParse(ReadBuffer readBuffer, Object... args)static SDOResponsestaticParse(ReadBuffer readBuffer, SDOResponseCommand command)StringtoString()
-
-
-
Method Detail
-
getCommand
public abstract SDOResponseCommand getCommand()
-
serializeSDOResponseChild
protected abstract void serializeSDOResponseChild(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 SDOResponse staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static SDOResponse staticParse(ReadBuffer readBuffer, SDOResponseCommand command) throws ParseException
- Throws:
ParseException
-
-