Package org.yamcs.cfdp.pdu
Class EofPacket
- java.lang.Object
-
- org.yamcs.cfdp.pdu.CfdpPacket
-
- org.yamcs.cfdp.pdu.EofPacket
-
- All Implemented Interfaces:
FileDirective
public class EofPacket extends CfdpPacket implements FileDirective
-
-
Field Summary
-
Fields inherited from class org.yamcs.cfdp.pdu.CfdpPacket
buffer, CFDP, header
-
-
Constructor Summary
Constructors Constructor Description EofPacket(ByteBuffer buffer, CfdpHeader header)EofPacket(ConditionCode code, long checksum, long filesize, TLV faultLocation, CfdpHeader header)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionCodegetConditionCode()intgetDataFieldLength()longgetFileChecksum()FileDirectiveCodegetFileDirectiveCode()StringtoString()protected voidwriteCFDPPacket(ByteBuffer buffer)-
Methods inherited from class org.yamcs.cfdp.pdu.CfdpPacket
fromTuple, getCFDPPacket, getHeader, getTransactionId, toByteArray, toTuple, toTuple, writeToBuffer
-
-
-
-
Constructor Detail
-
EofPacket
public EofPacket(ConditionCode code, long checksum, long filesize, TLV faultLocation, CfdpHeader header)
-
EofPacket
public EofPacket(ByteBuffer buffer, CfdpHeader header)
-
-
Method Detail
-
writeCFDPPacket
protected void writeCFDPPacket(ByteBuffer buffer)
- Specified by:
writeCFDPPacketin classCfdpPacket
-
getDataFieldLength
public int getDataFieldLength()
- Specified by:
getDataFieldLengthin classCfdpPacket
-
getConditionCode
public ConditionCode getConditionCode()
-
getFileChecksum
public long getFileChecksum()
-
getFileDirectiveCode
public FileDirectiveCode getFileDirectiveCode()
- Specified by:
getFileDirectiveCodein interfaceFileDirective
-
-