Package org.yamcs.cfdp.pdu
Class FinishedPacket
java.lang.Object
org.yamcs.cfdp.pdu.CfdpPacket
org.yamcs.cfdp.pdu.FinishedPacket
- All Implemented Interfaces:
FileDirective
-
Nested Class Summary
Nested classes/interfaces inherited from class org.yamcs.cfdp.pdu.CfdpPacket
CfdpPacket.TransmissionMode
-
Field Summary
Fields inherited from class org.yamcs.cfdp.pdu.CfdpPacket
CFDP, header
-
Constructor Summary
ConstructorDescriptionFinishedPacket
(ConditionCode code, boolean dataComplete, FinishedPacket.FileStatus status, TLV faultLocation, CfdpHeader header) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
toString()
protected void
writeCFDPPacket
(ByteBuffer buffer) Methods inherited from class org.yamcs.cfdp.pdu.CfdpPacket
fromTuple, getCFDPPacket, getHeader, getTransactionId, toByteArray, toTuple, toTuple, toTuple, writeToBuffer
-
Constructor Details
-
FinishedPacket
public FinishedPacket(ConditionCode code, boolean dataComplete, FinishedPacket.FileStatus status, TLV faultLocation, CfdpHeader header)
-
-
Method Details
-
writeCFDPPacket
- Specified by:
writeCFDPPacket
in classCfdpPacket
-
getDataFieldLength
public int getDataFieldLength()- Specified by:
getDataFieldLength
in classCfdpPacket
-
getFileDirectiveCode
- Specified by:
getFileDirectiveCode
in interfaceFileDirective
-
getConditionCode
-
isDataComplete
public boolean isDataComplete() -
getFileStatus
-
toString
-