IPC and Socket
Datagram
Datagram sink
Protocol
- class SourceProtocolABC(app, pipeline, config)[source]
Bases:
objectSource protocol is a handler class, that basically gets the socket (in reader) and extract the payload from it in a way that is conformant to expected protocol.
That is happening in the handle() method. The output is to be shipped to source.process() method.
Line Source Protocol
- class LineSourceProtocol(app, pipeline, config)[source]
Bases:
SourceProtocolABCDescription: Basically readline() for reading lines from a socket.
Stream
- class Stream(loop, socket, outbound_queue=None)[source]
Bases:
objectDescription: This object represent a client connection. It is unencrypted STREAM socket.