Struct thrift::server::TMultiplexedProcessor [] [src]

pub struct TMultiplexedProcessor { /* fields omitted */ }

A TProcessor that can demux service calls to multiple underlying Thrift services.

Users register service-specific TProcessor instances with a TMultiplexedProcessor, and then register that processor with a server implementation. Following that, all incoming service calls are automatically routed to the service-specific TProcessor.

A TMultiplexedProcessor can only handle messages sent by a TMultiplexedOutputProtocol.

Methods

impl TMultiplexedProcessor
[src]

Register a service-specific processor for the service named service_name.

Return true if this is the first registration for service_name.

Return false if a mapping previously existed (the previous mapping is not overwritten).

Trait Implementations

impl TProcessor for TMultiplexedProcessor
[src]

Process a Thrift service call. Read more