boing.net
— Networking and encoding tools¶The module boing.net
provides classes and methods to ease the
usage of sockets and networking encodings, like for example JSON, OSC,
SLIP, etc.
boing.net.
Encoder
¶The Encoder class is the abstract base class for implementing the encoders of all the different encodings.
boing.net.
Decoder
¶The Decoder class is the abstract base class for implementing the decoders of all the different encodings.
The Decoder class implements the composite pattern. Many decoders can be put in sequence into a single composed decoder using the sum operator.
Each encoding has been implemented in a different submodule:
Common networking utilities: