Module tari_p2p::comms_connector[][src]

Structs

InboundDomainConnector

This service receives DecryptedDhtMessage, deserializes the MessageHeader and sends a PeerMessage on the given sink.

PeerMessage

A domain-level message

TopicSubscriptionFactory

This structure is used to create subscriptions to particular topics. Note that subscriptions obtained after messages are published will miss messages.

Functions

pubsub_connector

Connects InboundDomainConnector to a tari_pubsub::TopicPublisher through a buffered broadcast channel

Type Definitions

PubsubDomainConnector

Alias for a pubsub-type domain connector

SubscriptionFactory