pub trait ApplicationProxyInterface: Send + Sync {
    type OpenSession2ResponseFut: Future<Output = Result<(u32, OpResult), Error>> + Send;
    type InvokeCommandResponseFut: Future<Output = Result<OpResult, Error>> + Send;
    type CloseSessionResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn open_session2(
        &self,
        parameter_set: Vec<Parameter>
    ) -> Self::OpenSession2ResponseFut;
    fn invoke_command(
        &self,
        session_id: u32,
        command_id: u32,
        parameter_set: Vec<Parameter>
    ) -> Self::InvokeCommandResponseFut;
    fn close_session(&self, session_id: u32) -> Self::CloseSessionResponseFut;
}

Required Associated Types§

Required Methods§

source

fn open_session2( &self, parameter_set: Vec<Parameter> ) -> Self::OpenSession2ResponseFut

source

fn invoke_command( &self, session_id: u32, command_id: u32, parameter_set: Vec<Parameter> ) -> Self::InvokeCommandResponseFut

source

fn close_session(&self, session_id: u32) -> Self::CloseSessionResponseFut

Implementors§