Module crystalorb::network_resource[][src]

Expand description

The set of traits that need to be implemented to tell CrystalOrb how to use your external networking library to send and receive messages.

Traits

Representation of a connection to a specific remote machine that allows CrystalOrb to send and receive messages.

CrystalOrb needs an external networking library before it can be used. Such networking library will be responsible for sending three kinds of messages:

Type Definitions

Used for identifying each connection. Note that this is how the Server determines the client_id for each client, so they should be unique among all clients that is or has once connected during the server’s uptime.