proxygen
wangle::ServerSocketFactory Class Referenceabstract

#include <ServerSocketFactory.h>

Inheritance diagram for wangle::ServerSocketFactory:
wangle::AsyncServerSocketFactory wangle::AsyncUDPServerSocketFactory

Public Member Functions

virtual std::shared_ptr< folly::AsyncSocketBasenewSocket (folly::SocketAddress address, int backlog, bool reuse, const ServerSocketConfig &config)=0
 
virtual void removeAcceptCB (std::shared_ptr< folly::AsyncSocketBase > sock, Acceptor *callback, folly::EventBase *base)=0
 
virtual void addAcceptCB (std::shared_ptr< folly::AsyncSocketBase > sock, Acceptor *callback, folly::EventBase *base)=0
 
virtual ~ServerSocketFactory ()=default
 

Detailed Description

Definition at line 26 of file ServerSocketFactory.h.

Constructor & Destructor Documentation

virtual wangle::ServerSocketFactory::~ServerSocketFactory ( )
virtualdefault

Member Function Documentation

virtual void wangle::ServerSocketFactory::addAcceptCB ( std::shared_ptr< folly::AsyncSocketBase sock,
Acceptor callback,
folly::EventBase base 
)
pure virtual
virtual std::shared_ptr<folly::AsyncSocketBase> wangle::ServerSocketFactory::newSocket ( folly::SocketAddress  address,
int  backlog,
bool  reuse,
const ServerSocketConfig config 
)
pure virtual
virtual void wangle::ServerSocketFactory::removeAcceptCB ( std::shared_ptr< folly::AsyncSocketBase sock,
Acceptor callback,
folly::EventBase base 
)
pure virtual

The documentation for this class was generated from the following file: