Trait ethcore_ipc::interface::IpcInterface [] [src]

pub trait IpcInterface: IpcConfig {
    fn dispatch<R>(&self, r: &mut R) -> Vec<u8> where R: Read;
    fn dispatch_buf(&self, method_num: u16, buf: &[u8]) -> Vec<u8>;
}

Allows implementor to be attached to generic worker and dispatch rpc requests over IPC

Required Methods

reads the message from io, dispatches the call and returns serialized result

deserializes the payload from buffer, dispatches invoke and returns serialized result (for non-blocking io)

Implementors