proxygen
|
#include <gflags/gflags.h>
#include <folly/init/Init.h>
#include <wangle/bootstrap/ServerBootstrap.h>
#include <wangle/channel/AsyncSocketHandler.h>
#include <wangle/channel/FileRegion.h>
#include <wangle/codec/LineBasedFrameDecoder.h>
#include <wangle/codec/StringCodec.h>
Go to the source code of this file.
Classes | |
class | FileServerHandler |
class | FileServerPipelineFactory |
Typedefs | |
typedef Pipeline< IOBufQueue &, std::string > | FileServerPipeline |
Functions | |
DEFINE_int32 (port, 11219,"test file server port") | |
int | main (int argc, char **argv) |
typedef Pipeline<IOBufQueue&, std::string> FileServerPipeline |
Definition at line 31 of file FileServer.cpp.
DEFINE_int32 | ( | port | , |
11219 | , | ||
"test file server port" | |||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 95 of file FileServer.cpp.
References wangle::ServerBootstrap< Pipeline >::bind(), wangle::ServerBootstrap< Pipeline >::childPipeline(), folly::init(), and wangle::ServerBootstrap< Pipeline >::waitForStop().