Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

Packet pipeline for the HOPR protocol.

Structsยง

AcknowledgementPipelineConfig
Configuration for the acknowledgement processing pipeline.
METRIC_PACKET_COUNT ๐Ÿ”’
METRIC_PACKET_DECODE_TIMEOUTS ๐Ÿ”’
METRIC_PACKET_REJECTED_COUNT ๐Ÿ”’
METRIC_VALIDATION_ERRORS ๐Ÿ”’
PacketPipelineConfig
Overall configuration of the input/output packet processing pipeline.

Enumsยง

PacketPipelineProcesses

Constantsยง

DEFAULT_ACK_INPUT_CONCURRENCY ๐Ÿ”’
Default concurrency for the incoming acknowledgement processing pipeline when not overridden via AcknowledgementPipelineConfig::ack_input_concurrency.
DEFAULT_ACK_OUTPUT_CONCURRENCY ๐Ÿ”’
Default concurrency for the outgoing acknowledgement processing pipeline when not overridden via AcknowledgementPipelineConfig::ack_output_concurrency.
PACKET_DECODING_TIMEOUT ๐Ÿ”’
PACKET_ENCODING_TIMEOUT ๐Ÿ”’
QUEUE_SEND_TIMEOUT ๐Ÿ”’

Functionsยง

default_ack_buffer_interval ๐Ÿ”’
default_ack_grouping_capacity ๐Ÿ”’
default_ack_out_buffer_size ๐Ÿ”’
default_ticket_ack_buffer_size ๐Ÿ”’
run_packet_pipeline
Run all processes responsible for handling the msg and acknowledgment protocols.
start_incoming_ack_pipeline ๐Ÿ”’
start_incoming_packet_pipeline ๐Ÿ”’
Performs HOPR protocol decoding of incoming packets into Application protocol packets.
start_outgoing_ack_pipeline ๐Ÿ”’
start_outgoing_packet_pipeline ๐Ÿ”’
Performs encoding of outgoing Application protocol packets into HOPR protocol outgoing packets.