network.protocols - Palamecia/mint GitHub Wiki

Description

This module provides classes implementing protocols from layers layers 5 to 7 of the OSI model. Each protocol's related classes are grouped under a same package inside the Network package.

Each protocol package provides 3 kind of classes:

  • A Message class for atomic manipulation of a protocol specific message and to provide message construction facilities.
  • A Serializer class that implement the network.serializers interface to convert message objects from/to byte stream.
  • If the protocol uses a client/server architecture, a Client class provides a context to manage the client part and a Server class implement the server part of the protocol. If the protocol uses a peer to peer architecture, a Peer class provides the context of one node. Those classes follow the same interface as the Network.AsynchronousChannel class and can be used in the same way with the Network.Scheduler object.

Packages

Classes

Constants

Functions