proxygen
|
#include <BaseClientBootstrap.h>
Public Types | |
using | Ptr = std::unique_ptr< BaseClientBootstrap > |
Public Member Functions | |
BaseClientBootstrap () | |
virtual | ~BaseClientBootstrap ()=default |
BaseClientBootstrap< P > * | pipelineFactory (std::shared_ptr< PipelineFactory< P >> factory) noexcept |
P * | getPipeline () |
virtual folly::Future< P * > | connect (const folly::SocketAddress &address, std::chrono::milliseconds timeout=std::chrono::milliseconds(0))=0 |
BaseClientBootstrap * | sslContext (folly::SSLContextPtr sslContext) |
BaseClientBootstrap * | sslSession (SSL_SESSION *sslSession) |
BaseClientBootstrap * | serverName (const std::string &sni) |
BaseClientBootstrap * | sslSessionEstablishedCallback (SSLSessionEstablishedCallbackUniquePtr sslSessionEstablishedCallback) |
BaseClientBootstrap * | deferSecurityNegotiation (bool deferSecurityNegotiation) |
void | setPipeline (const typename P::Ptr &pipeline) |
virtual void | makePipeline (std::shared_ptr< folly::AsyncTransportWrapper > socket) |
Protected Attributes | |
std::shared_ptr< PipelineFactory< P > > | pipelineFactory_ |
P::Ptr | pipeline_ |
folly::SSLContextPtr | sslContext_ |
SSL_SESSION * | sslSession_ {nullptr} |
std::string | sni_ |
bool | deferSecurityNegotiation_ {false} |
SSLSessionEstablishedCallbackUniquePtr | sslSessionEstablishedCallback_ |
Definition at line 43 of file BaseClientBootstrap.h.
using wangle::BaseClientBootstrap< P >::Ptr = std::unique_ptr<BaseClientBootstrap> |
Definition at line 45 of file BaseClientBootstrap.h.
|
inline |
Definition at line 46 of file BaseClientBootstrap.h.
|
virtualdefault |
|
pure virtual |
Implemented in wangle::ClientBootstrap< Pipeline >, and wangle::ClientBootstrap< DefaultPipeline >.
Referenced by wangle::MockServerPool::connect(), and SimpleServerPool::connect().
|
inline |
Definition at line 86 of file BaseClientBootstrap.h.
|
inline |
Definition at line 56 of file BaseClientBootstrap.h.
Referenced by wangle::ClientBootstrap< Pipeline >::ConnectCallback::connectSuccess().
|
inlinevirtual |
Reimplemented in CustomPipelineMakerTestClient.
Definition at line 95 of file BaseClientBootstrap.h.
Referenced by wangle::ClientBootstrap< Pipeline >::ConnectCallback::connectSuccess().
|
inlinenoexcept |
Definition at line 50 of file BaseClientBootstrap.h.
Referenced by TEST().
|
inline |
Definition at line 75 of file BaseClientBootstrap.h.
|
inline |
Definition at line 91 of file BaseClientBootstrap.h.
|
inline |
Definition at line 65 of file BaseClientBootstrap.h.
|
inline |
Definition at line 70 of file BaseClientBootstrap.h.
|
inline |
Definition at line 80 of file BaseClientBootstrap.h.
|
protected |
Definition at line 106 of file BaseClientBootstrap.h.
|
protected |
Definition at line 102 of file BaseClientBootstrap.h.
|
protected |
Definition at line 101 of file BaseClientBootstrap.h.
|
protected |
Definition at line 105 of file BaseClientBootstrap.h.
|
protected |
Definition at line 103 of file BaseClientBootstrap.h.
|
protected |
Definition at line 104 of file BaseClientBootstrap.h.
|
protected |
Definition at line 107 of file BaseClientBootstrap.h.