Module rift::server [] [src]

Types required to implement the server half of a Thrift service.

Provides the following implementations:

  1. TSimpleServer: single-threaded socket server
  2. TProcessor: service-call demultiplexer for a single Thrift service
  3. TMultiplexedProcessor: service-call demultiplexer for multiple Thrift services

Structs

TMultiplexedProcessor
TSimpleServer

Single-threaded blocking Thrift socket server.

Traits

TProcessor

Identifies an auto-generated service-call demultiplexer for a Thrift service. Users need to instantiate the TProcessor implementation they want to handle and pass this instance to a rift::server implementation. After the server is started the auto-generated processor will demux incoming service calls and automatically execute the user's handler code.