ait.dsn.cfdp.primitives module

class ait.dsn.cfdp.primitives.ConditionCode

Bases: enum.Enum

An enumeration.

CANCEL_REQUEST_RECEIVED = 15
CHECK_LIMIT_REACHED = 10
FILESTORE_REJECTION = 4
FILE_CHECKSUM_FAILURE = 5
FILE_SIZE_ERROR = 6
INACTIVITY_DETECTED = 8
INVALID_FILE_STRUCTURE = 9
INVALID_TRANSMISSION_MODE = 3
KEEP_ALIVE_LIMIT_REACHED = 2
NAK_LIMIT_REACHED = 7
NO_ERROR = 0
POSITIVE_ACK_LIMIT_REACHED = 1
SUSPEND_REQUEST_RECEIVED = 14
class ait.dsn.cfdp.primitives.DeliveryCode

Bases: enum.Enum

An enumeration.

DATA_COMPLETE = 'DATA_COMPLETE'
DATA_INCOMPLETE = 'DATA_INCOMPLETE'
class ait.dsn.cfdp.primitives.FileDirective

Bases: enum.Enum

An enumeration.

ACK = 6
EOF = 4
FINISHED = 5
KEEP_ALIVE = 12
METADATA = 7
NAK = 8
PROMPT = 9
class ait.dsn.cfdp.primitives.FinalStatus

Bases: enum.Enum

An enumeration.

FINAL_STATUS_ABANDONED = 'FINAL_STATUS_ABANDONED'
FINAL_STATUS_CANCELLED = 'FINAL_STATUS_CANCELLED'
FINAL_STATUS_NO_METADATA = 'FINAL_STATUS_NO_METADATA'
FINAL_STATUS_SUCCESSFUL = 'FINAL_STATUS_SUCCESSFUL'
FINAL_STATUS_UNKNOWN = 'FINAL_STATUS_UNKNOWN'
class ait.dsn.cfdp.primitives.HandlerCode

Bases: enum.Enum

0, 5 - 15 are reserved

ABANDON = 4
CANCEL = 1
IGNORE = 3
SUSPEND = 2
class ait.dsn.cfdp.primitives.IndicationType

Bases: enum.Enum

Request primitives that CFDP service Delivers

ABANDONED_INDICATION = 'ABANDONED_INDICATION'
EOF_RECV_INDICATION = 'EOF_RECV_INDICATION'
EOF_SENT_INDICATION = 'EOF_SENT_INDICATION'
FAULT_INDICATION = 'FAULT_INDICATION'
FILE_SEGMENT_RECV_INDICATION = 'FILE_SEGMENT_RECV_INDICATION'
METADATA_RECV_INDICATION = 'METADATA_RECV_INDICATION'
REPORT_INDICATION = 'REPORT_INDICATION'
RESUMED_INDICATION = 'RESUMED_INDICATION'
SUSPENDED_INDICATION = 'SUSPENDED_INDICATION'
TRANSACTION_FINISHED_INDICATION = 'TRANSACTION_FINISHED_INDICATION'
TRANSACTION_INDICATION = 'TRANSACTION_INDICATION'
class ait.dsn.cfdp.primitives.MachineState

Bases: enum.Enum

An enumeration.

SEND_FILEDATA = 'SEND_FILEDATA'
SEND_METADATA = 'SEND_METADATA'
class ait.dsn.cfdp.primitives.RequestType

Bases: enum.Enum

Request primitives that CFDP service consumes

CANCEL_REQUEST = 'CANCEL_REQUEST'
PUT_REQUEST = 'PUT_REQUEST'
REPORT_REQUEST = 'REPORT_REQUEST'
RESUME_REQUEST = 'RESUME_REQUEST'
SUSPEND_REQUEST = 'SUSPEND_REQUEST'
class ait.dsn.cfdp.primitives.Role

Bases: enum.Enum

An enumeration.

CLASS_1_RECEIVER = 'CLASS_1_RECEIVER'
CLASS_1_SENDER = 'CLASS_1_SENDER'
CLASS_2_RECEIVER = 'CLASS_2_RECEIVER'
CLASS_2_SENDER = 'CLASS_2_SENDER'
UNDEFINED = 'UNDEFINED'
class ait.dsn.cfdp.primitives.TimerType

Bases: enum.Enum

An enumeration.

ACK_TIMER = 'ACK_TIMER'
INACTIVITY_TIMER = 'INACTIVITY_TIMER'
NAK_TIMER = 'NAK_TIMER'
NO_TIMER = 'NO_TIMER'
class ait.dsn.cfdp.primitives.TransmissionMode

Bases: enum.Enum

An enumeration.

ACK = 'ACK'
NO_ACK = 'NO_ACK'