macro_rules! start_responsive_server_processor { ($const_config: expr, $channel_type: tt, $socket_server: expr, $remote_messages: ty, $local_messages: ty, $connection_events_handler_fn: expr, $dialog_processor_builder_fn: expr) => { ... }; }
Expand description
Starts a server (previously instantiated by new_socket_server!()) that will communicate with clients using a single protocol – as defined by the given
dialog_processor_builder_fn, a builder of “responsive” Streams as specified in CompositeSocketServer::spawn_responsive_processor().
If you want to follow the “Composite Protocol Stacking” pattern, see the [spawn_responsive_composite_server_processor!()] macro instead.