Struct rift::server::TMultiplexedProcessor
[−]
[src]
pub struct TMultiplexedProcessor { /* fields omitted */ }
Methods
impl TMultiplexedProcessor
[src]
fn register_processor<S: Into<String>>(
&mut self,
service_name: S,
processor: Box<TProcessor>
) -> bool
&mut self,
service_name: S,
processor: Box<TProcessor>
) -> bool
Trait Implementations
impl TProcessor for TMultiplexedProcessor
[src]
fn process(
&mut self,
_: &mut TInputProtocol,
_: &mut TOutputProtocol
) -> Result<()>
&mut self,
_: &mut TInputProtocol,
_: &mut TOutputProtocol
) -> Result<()>
Process a Thrift service call. Reads arguments from i
, executes the user-implemented handler and writes the response out to o
. Read more