macro_rules! start_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 “unresponsive” Stream
s as specified in CompositeSocketServer::spawn_processor().
If you want to follow the “Composite Protocol Stacking” pattern, see the [spawn_composite_server_processor!()] macro instead.