Class SDOInitiateDownloadRequest
- java.lang.Object
-
- org.apache.plc4x.java.canopen.readwrite.SDORequest
-
- org.apache.plc4x.java.canopen.readwrite.SDOInitiateDownloadRequest
-
- All Implemented Interfaces:
Message,Serializable
public class SDOInitiateDownloadRequest extends SDORequest implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSDOInitiateDownloadRequest.SDOInitiateDownloadRequestBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.canopen.readwrite.SDORequest
SDORequest.SDORequestBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected IndexAddressaddressprotected booleanexpeditedprotected booleanindicatedprotected SDOInitiateUploadResponsePayloadpayload
-
Constructor Summary
Constructors Constructor Description SDOInitiateDownloadRequest(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()SDORequestCommandgetCommand()booleangetExpedited()booleangetIndicated()intgetLengthInBits()intgetLengthInBytes()SDOInitiateUploadResponsePayloadgetPayload()inthashCode()protected voidserializeSDORequestChild(WriteBuffer writeBuffer)static SDORequest.SDORequestBuilderstaticParseSDORequestBuilder(ReadBuffer readBuffer, SDORequestCommand command)StringtoString()-
Methods inherited from class org.apache.plc4x.java.canopen.readwrite.SDORequest
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
-
SDOInitiateDownloadRequest
public SDOInitiateDownloadRequest(boolean expedited, boolean indicated, IndexAddress address, SDOInitiateUploadResponsePayload payload)
-
-
Method Detail
-
getCommand
public SDORequestCommand getCommand()
- Specified by:
getCommandin classSDORequest
-
getExpedited
public boolean getExpedited()
-
getIndicated
public boolean getIndicated()
-
getAddress
public IndexAddress getAddress()
-
getPayload
public SDOInitiateUploadResponsePayload getPayload()
-
serializeSDORequestChild
protected void serializeSDORequestChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeSDORequestChildin classSDORequest- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classSDORequest
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classSDORequest
-
staticParseSDORequestBuilder
public static SDORequest.SDORequestBuilder staticParseSDORequestBuilder(ReadBuffer readBuffer, SDORequestCommand command) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSDORequest
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSDORequest
-
toString
public String toString()
- Overrides:
toStringin classSDORequest
-
-