Package org.yamcs.cfdp.pdu
Class PromptPacket
- java.lang.Object
-
- org.yamcs.cfdp.pdu.CfdpPacket
-
- org.yamcs.cfdp.pdu.PromptPacket
-
- All Implemented Interfaces:
FileDirective
public class PromptPacket extends CfdpPacket implements FileDirective
-
-
Field Summary
-
Fields inherited from class org.yamcs.cfdp.pdu.CfdpPacket
buffer, CFDP, header
-
-
Constructor Summary
Constructors Constructor Description PromptPacket(boolean responseRequired, CfdpHeader header)PromptPacket(ByteBuffer buffer, CfdpHeader header)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDataFieldLength()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
-
PromptPacket
public PromptPacket(boolean responseRequired, CfdpHeader header)
-
PromptPacket
public PromptPacket(ByteBuffer buffer, CfdpHeader header)
-
-
Method Detail
-
writeCFDPPacket
protected void writeCFDPPacket(ByteBuffer buffer)
- Specified by:
writeCFDPPacketin classCfdpPacket
-
getDataFieldLength
public int getDataFieldLength()
- Specified by:
getDataFieldLengthin classCfdpPacket
-
getFileDirectiveCode
public FileDirectiveCode getFileDirectiveCode()
- Specified by:
getFileDirectiveCodein interfaceFileDirective
-
-