proxygen
|
Public Member Functions | |
void | read (Context *, Xtruct in) override |
Future< Xtruct > | operator() (Bonk arg) override |
Future< Unit > | close () override |
Future< Unit > | close (Context *ctx) override |
Public Member Functions inherited from wangle::ClientDispatcherBase< SerializePipeline, Bonk, Xtruct > | |
~ClientDispatcherBase () override | |
void | setPipeline (SerializePipeline *pipeline) |
folly::Future< folly::Unit > | close () override |
folly::Future< folly::Unit > | close (Context *ctx) override |
Public Member Functions inherited from wangle::HandlerAdapter< Xtruct, Bonk > | |
void | read (Context *ctx, Xtructmsg) override |
folly::Future< folly::Unit > | write (Context *ctx, Bonkmsg) override |
Public Member Functions inherited from wangle::Handler< Xtruct, Xtruct, Bonk, Bonk > | |
~Handler () override=default | |
virtual void | readEOF (Context *ctx) |
virtual void | readException (Context *ctx, folly::exception_wrapper e) |
virtual void | transportActive (Context *ctx) |
virtual void | transportInactive (Context *ctx) |
virtual folly::Future< folly::Unit > | writeException (Context *ctx, folly::exception_wrapper e) |
Public Member Functions inherited from wangle::HandlerBase< HandlerContext< Xtruct, Bonk > > | |
virtual | ~HandlerBase ()=default |
virtual void | attachPipeline (HandlerContext< Xtruct, Bonk > *) |
virtual void | detachPipeline (HandlerContext< Xtruct, Bonk > *) |
HandlerContext< Xtruct, Bonk > * | getContext () |
Public Member Functions inherited from wangle::Service< Bonk, Xtruct > | |
virtual | ~Service ()=default |
virtual bool | isAvailable () |
Private Attributes | |
std::unordered_map< int32_t, Promise< Xtruct > > | requests_ |
Additional Inherited Members | |
Public Types inherited from wangle::ClientDispatcherBase< SerializePipeline, Bonk, Xtruct > | |
typedef HandlerAdapter< Xtruct, Bonk >::Context | Context |
Public Types inherited from wangle::HandlerAdapter< Xtruct, Bonk > | |
typedef Handler< Xtruct, Xtruct, Bonk, Bonk >::Context | Context |
Public Types inherited from wangle::Handler< Xtruct, Xtruct, Bonk, Bonk > | |
typedef Xtruct | rin |
typedef Xtruct | rout |
typedef Bonk | win |
typedef Bonk | wout |
typedef HandlerContext< Xtruct, Bonk > | Context |
Static Public Attributes inherited from wangle::Handler< Xtruct, Xtruct, Bonk, Bonk > | |
static const HandlerDir | dir |
Protected Attributes inherited from wangle::ClientDispatcherBase< SerializePipeline, Bonk, Xtruct > | |
SerializePipeline * | pipeline_ |
Definition at line 60 of file RpcClient.cpp.
Reimplemented from wangle::Service< Bonk, Xtruct >.
Definition at line 84 of file RpcClient.cpp.
References folly::netops::close().
Reimplemented from wangle::Handler< Xtruct, Xtruct, Bonk, Bonk >.
Definition at line 89 of file RpcClient.cpp.
References folly::netops::close().
|
inlineoverridevirtual |
Implements wangle::Service< Bonk, Xtruct >.
Definition at line 71 of file RpcClient.cpp.
References f.
|
inlineoverridevirtual |
Implements wangle::Handler< Xtruct, Xtruct, Bonk, Bonk >.
Definition at line 63 of file RpcClient.cpp.
References folly::gen::move.
Definition at line 95 of file RpcClient.cpp.