fn handle_call(&self, actor: &str, op: &str, msg: &[u8]) -> Result<Vec<u8>, Box<dyn Error>> {
        trace!("Received host call from {}, operation - {}", actor, op);

        match op {
            OP_BIND_ACTOR if actor == SYSTEM_ACTOR => self.configure(deserialize(msg)?),
            OP_REMOVE_ACTOR if actor == SYSTEM_ACTOR => self.deconfigure(deserialize(msg)?),
            OP_GET_CAPABILITY_DESCRIPTOR if actor == SYSTEM_ACTOR => self.get_descriptor(),
            //  OP_START_MATCH => self.start_match(deserialize(msg)?),
            _ => Err("bad dispatch".into()),
        }
    }
// Invoked by host runtime to allow an actor to make use of the capability
// All providers MUST handle the "configure" message, even if no work will be done
Invoked by host runtime to allow an actor to make use of the capability
All providers MUST handle the "configure" message, even if no work will be done
Invoked by host runtime to allow an actor to make use of the capability All providers MUST handle the " configure " message even if no work will be done
fn handle_call(&self, actor: &str, op: &str, msg: &[u8]) -> Result<Vec<u8>, Box<dyn Error>> {
        trace!("Received host call from {}, operation - {}", actor, op);
        match op {
            OP_BIND_ACTOR if actor == SYSTEM_ACTOR => self.configure(deserialize(msg)?),
            OP_REMOVE_ACTOR if actor == SYSTEM_ACTOR => self.deconfigure(deserialize(msg)?),
            OP_GET_CAPABILITY_DESCRIPTOR if actor == SYSTEM_ACTOR => self.get_descriptor(),
            //  OP_START_MATCH => self.start_match(deserialize(msg)?),
            _ => Err("bad dispatch".into()),
        }
    }
fn handle_call ( & self , actor : & str , op : & str , msg : & [ u8 ] ) -> Result < Vec < u8 > , Box < dyn Error > > { trace ! ( " " actor op ) ; match op { OP_BIND_ACTOR if actor == SYSTEM_ACTOR => self . configure ( deserialize ( msg ) ? ) , OP_REMOVE_ACTOR if actor == SYSTEM_ACTOR => self . deconfigure ( deserialize ( msg ) ? ) , OP_GET_CAPABILITY_DESCRIPTOR if actor == SYSTEM_ACTOR => self . get_descriptor ( ) , //  OP_START_MATCH => self.start_match(deserialize(msg)?), _ => Err ( " " . into ( ) ) , } }
Invoked by host runtime to allow an actor to make use of the capability
All providers MUST handle the "configure" message, even if no work will be done
Invoked by host runtime to allow an actor to make use of the capability All providers MUST handle the " configure " message even if no work will be done
&self
actor
&str
op
&str
msg
&[u8]
&self
actor
&str
op
&str
msg
&[u8]