proxygen
|
#include <iostream>
#include <gflags/gflags.h>
#include <folly/init/Init.h>
#include <wangle/bootstrap/ClientBootstrap.h>
#include <wangle/channel/AsyncSocketHandler.h>
#include <wangle/channel/EventBaseHandler.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< folly::IOBufQueue &, std::string > | EchoPipeline |
Functions | |
DEFINE_int32 (port, 8080,"echo server port") | |
DEFINE_string (host,"::1","echo server address") | |
int | main (int argc, char **argv) |
typedef Pipeline<folly::IOBufQueue&, std::string> EchoPipeline |
Definition at line 34 of file EchoClient.cpp.
DEFINE_int32 | ( | port | , |
8080 | , | ||
"echo server port" | |||
) |
DEFINE_string | ( | host | , |
"::1" | , | ||
"echo server address" | |||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 69 of file EchoClient.cpp.
References wangle::ClientBootstrap< Pipeline >::connect(), folly::exceptionStr(), getline(), wangle::ClientBootstrap< Pipeline >::group(), folly::init(), wangle::BaseClientBootstrap< Pipeline >::pipelineFactory(), and string.