Skip to main content

Module machine

Module machine 

Source
Expand description

The synchronous, core CFDP state machine.

This module contains the pure, platform-agnostic logic for the CFDP protocol. It operates by receiving Events and producing Actions, without performing any I/O itself.

Re-exports§

pub use self::receiver::ReceiverMachine;
pub use self::sender::SenderMachine;
pub use self::transaction::TransactionId;

Modules§

receiver
The synchronous state machine for the receiving-side of a CFDP transaction.
sender
Synchronous state machine for the sending-side of a CFDP transaction.
tracker
A helper for tracking received file segments and identifying gaps.
transaction
Contains the shared data structures for CFDP transactions, used by both the sender and receiver state machines.

Enums§

PromptType
The type of prompt to request from a remote entity.
TimerType
The specific type of timer to be managed.

Constants§

FILE_DATA_CHUNK_SIZE
The maximum size of a file data chunk to send in one PDU.
MAX_ACTIONS_PER_EVENT
The maximum number of actions that can be generated from a single event.
MAX_CONCURRENT_TRANSACTIONS
The maximum number of concurrent transactions supported.