pub trait Method {
    fn call(
        &mut self,
        session_id: &NodeId,
        session_manager: Arc<RwLock<SessionManager>>,
        request: &CallMethodRequest
    ) -> Result<CallMethodResult, StatusCode>; }
Expand description

Called by the Method service when it invokes a method

Required methods

A method is registered via the address space to a method id and optionally an object id. When a client sends a CallRequest / CallMethod request, the registered object will be invoked to handle the call.

Implementors