Class SDOInitiateUploadResponse
- java.lang.Object
-
- org.apache.plc4x.java.canopen.readwrite.SDOResponse
-
- org.apache.plc4x.java.canopen.readwrite.SDOInitiateUploadResponse
-
- All Implemented Interfaces:
Message,Serializable
public class SDOInitiateUploadResponse extends SDOResponse implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSDOInitiateUploadResponse.SDOInitiateUploadResponseBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.canopen.readwrite.SDOResponse
SDOResponse.SDOResponseBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected IndexAddressaddressprotected booleanexpeditedprotected booleanindicatedprotected SDOInitiateUploadResponsePayloadpayload
-
Constructor Summary
Constructors Constructor Description SDOInitiateUploadResponse(boolean expedited, boolean indicated, IndexAddress address, SDOInitiateUploadResponsePayload payload)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IndexAddressgetAddress()SDOResponseCommandgetCommand()booleangetExpedited()booleangetIndicated()intgetLengthInBits()intgetLengthInBytes()SDOInitiateUploadResponsePayloadgetPayload()inthashCode()protected voidserializeSDOResponseChild(WriteBuffer writeBuffer)static SDOResponse.SDOResponseBuilderstaticParseSDOResponseBuilder(ReadBuffer readBuffer, SDOResponseCommand command)StringtoString()-
Methods inherited from class org.apache.plc4x.java.canopen.readwrite.SDOResponse
serialize, staticParse, staticParse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
-
-
-
Field Detail
-
expedited
protected final boolean expedited
-
indicated
protected final boolean indicated
-
address
protected final IndexAddress address
-
payload
protected final SDOInitiateUploadResponsePayload payload
-
-
Constructor Detail
-
SDOInitiateUploadResponse
public SDOInitiateUploadResponse(boolean expedited, boolean indicated, IndexAddress address, SDOInitiateUploadResponsePayload payload)
-
-
Method Detail
-
getCommand
public SDOResponseCommand getCommand()
- Specified by:
getCommandin classSDOResponse
-
getExpedited
public boolean getExpedited()
-
getIndicated
public boolean getIndicated()
-
getAddress
public IndexAddress getAddress()
-
getPayload
public SDOInitiateUploadResponsePayload getPayload()
-
serializeSDOResponseChild
protected void serializeSDOResponseChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeSDOResponseChildin classSDOResponse- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classSDOResponse
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classSDOResponse
-
staticParseSDOResponseBuilder
public static SDOResponse.SDOResponseBuilder staticParseSDOResponseBuilder(ReadBuffer readBuffer, SDOResponseCommand command) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSDOResponse
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSDOResponse
-
toString
public String toString()
- Overrides:
toStringin classSDOResponse
-
-