proxygen
BroadcastPoolTest::ServerPipelineFactory Class Reference
Inheritance diagram for BroadcastPoolTest::ServerPipelineFactory:
wangle::PipelineFactory< DefaultPipeline >

Public Member Functions

DefaultPipeline::Ptr newPipeline (std::shared_ptr< AsyncTransportWrapper >) override
 
- Public Member Functions inherited from wangle::PipelineFactory< DefaultPipeline >
virtual DefaultPipeline::Ptr newPipeline (std::shared_ptr< folly::AsyncUDPSocket >, const folly::SocketAddress &)
 
virtual ~PipelineFactory ()=default
 

Detailed Description

Definition at line 56 of file BroadcastPoolTest.cpp.

Member Function Documentation

DefaultPipeline::Ptr BroadcastPoolTest::ServerPipelineFactory::newPipeline ( std::shared_ptr< AsyncTransportWrapper )
inlineoverridevirtual

Implements wangle::PipelineFactory< DefaultPipeline >.

Definition at line 58 of file BroadcastPoolTest.cpp.

59  {
60  auto pipeline = DefaultPipeline::create();
61  pipeline->addBack(new BytesToBytesHandler());
62  pipeline->finalize();
63  return pipeline;
64  }
HandlerAdapter< folly::IOBufQueue &, std::unique_ptr< folly::IOBuf > > BytesToBytesHandler
Definition: Handler.h:173

The documentation for this class was generated from the following file: