Crate sage_broker[][src]

Expand description

sage_broker library.

Modules

All functions related to service control. The broker service is made of a set of background async tasks.

Structs

Configuration structure for a broker. This structure is used to customize the behaviour of your broker. It is used as a parameter for the start function.

Interface for publishing messages

Represents a client and holds all of its data, may it be active or not. If the client is connected, peer is used to retrieve its information and send him packets.

Holds sessions manipulated from the Command Loop

The list of all subcriptions registered by the broker

The Tigger class represents a one-way shared boolean. It has the following features:

Type Definitions

The MPSC sender for controlling a running server

The MPSC sender for controlling a running server