[][src]Trait new_home_application::communication::communication_manager::CommunicationManager

pub trait CommunicationManager {
    fn run(&mut self);
fn handle_client(&self) -> Result<(), Error>; }

Manages the communication of external clients and the application itself Starts a server for clients to connect to and handles clients with a ClientHandler method A client can send multiple requests without establishing a new connection

Required methods

fn run(&mut self)

Initializes an IPC connection

fn handle_client(&self) -> Result<(), Error>

Accepts a client, create and runs a new ClientHandler instance for the connected client

Loading content...

Implementors

impl CommunicationManager for CommunicationManagerImpl[src]

Loading content...