|
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 | TelnetHandler |
| class | TelnetPipelineFactory |
Typedefs | |
| typedef Pipeline< IOBufQueue &, std::string > | TelnetPipeline |
Functions | |
| DEFINE_int32 (port, 23,"test telnet server port") | |
| int | main (int argc, char **argv) |
| typedef Pipeline<IOBufQueue&, std::string> TelnetPipeline |
Definition at line 30 of file TelnetServer.cpp.
| DEFINE_int32 | ( | port | , |
| 23 | , | ||
| "test telnet server port" | |||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 70 of file TelnetServer.cpp.
References wangle::ServerBootstrap< Pipeline >::bind(), wangle::ServerBootstrap< Pipeline >::childPipeline(), folly::init(), and wangle::ServerBootstrap< Pipeline >::waitForStop().