[][src]Crate sage_broker

sage_broker library.

Modules

service

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

Structs

BackEnd

Holds the data manipulated by the broker

BrokerSettings

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.

Session

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.

Sessions

Holds sessions manipulated from the Command Loop

Trigger

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

Type Definitions

CommandReceiver

The MPSC sender for controlling a running server

CommandSender

The MPSC sender for controlling a running server