Package org.yamcs.cfdp.pdu
Class AckPacket
java.lang.Object
org.yamcs.cfdp.pdu.CfdpPacket
org.yamcs.cfdp.pdu.AckPacket
- All Implemented Interfaces:
FileDirective
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
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
ConstructorDescriptionAckPacket
(FileDirectiveCode code, AckPacket.FileDirectiveSubtypeCode subcode, ConditionCode conditionCode, AckPacket.TransactionStatus status, CfdpHeader header) -
Method Summary
Modifier and TypeMethodDescriptionint
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
-
AckPacket
public AckPacket(FileDirectiveCode code, AckPacket.FileDirectiveSubtypeCode subcode, ConditionCode conditionCode, AckPacket.TransactionStatus status, 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
-
getDirectiveCode
-
getFileDirectiveSubtypeCode
-
getConditionCode
-
toString
-