|
proxygen
|
#include <gflags/gflags.h>#include <folly/init/Init.h>#include <wangle/bootstrap/ServerBootstrap.h>#include <wangle/channel/AsyncSocketHandler.h>#include <wangle/codec/LineBasedFrameDecoder.h>#include <wangle/codec/StringCodec.h>Go to the source code of this file.
Classes | |
| class | EchoHandler |
| class | EchoPipelineFactory |
Typedefs | |
| typedef Pipeline< IOBufQueue &, std::string > | EchoPipeline |
Functions | |
| DEFINE_int32 (port, 8080,"echo server port") | |
| int | main (int argc, char **argv) |
| typedef Pipeline<IOBufQueue&, std::string> EchoPipeline |
Definition at line 30 of file EchoServer.cpp.
| DEFINE_int32 | ( | port | , |
| 8080 | , | ||
| "echo server port" | |||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 57 of file EchoServer.cpp.
References wangle::ServerBootstrap< Pipeline >::bind(), wangle::ServerBootstrap< Pipeline >::childPipeline(), folly::init(), and wangle::ServerBootstrap< Pipeline >::waitForStop().