Plasma GitLab Archive
Projects Blog Knowledge

Class Netplex_kit.protocol_switch_processor

class protocol_switch_processor : (string * Netplex_types.processor) list -> Netplex_types.processor
The arg is a list of pairs (proto_name, proto_proc). All mentioned processors are merged into a single processor. When a TCP connection arrives, it depends on the protocol which processor is actually activated. (Every socket is bound to a protocol, so this can be derived from the socket.)

It is up to the user whether the merge makes sense.


This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml