Package org.yamcs.cfdp.pdu
Class ReservedMessageToUser
java.lang.Object
org.yamcs.cfdp.pdu.TLV
org.yamcs.cfdp.pdu.MessageToUser
org.yamcs.cfdp.pdu.ReservedMessageToUser
- Direct Known Subclasses:
DirectoryListingRequest,DirectoryListingResponse,OriginatingTransactionId,ProxyClosureRequest,ProxyPutRequest,ProxyPutResponse,ProxyTransmissionMode
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.yamcs.cfdp.pdu.TLV
TYPE_MESSAGE_TO_USER -
Constructor Summary
ConstructorsConstructorDescriptionReservedMessageToUser(ReservedMessageToUser.MessageType messageType, byte[] content) -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageToUserfromValue(byte[] value) Decodes ReservedMessageToUser from MessageToUser TLV value.byte[]toJson()Methods inherited from class org.yamcs.cfdp.pdu.MessageToUser
fromTLVMethods inherited from class org.yamcs.cfdp.pdu.TLV
equals, getBytes, getEntityIdTLV, getType, getValue, hashCode, readTLV, toString, writeToBuffer
-
Field Details
-
MESSAGE_IDENTIFIER
- See Also:
-
-
Constructor Details
-
ReservedMessageToUser
-
-
Method Details
-
fromValue
Decodes ReservedMessageToUser from MessageToUser TLV value. Returns regular MessageToUser if unable. Will return the child associated with the MessageType instead if the class exists.- Parameters:
value- TLV value to decode- Returns:
- ReservedMessageToUser (or child if possible), or regular MessageToUser if unable
-
getMessageType
-
getContent
public byte[] getContent() -
toJson
-