proxygen
|
#include <ScopedBoundPort.h>
Public Member Functions | |
ScopedBoundPort (IPAddress host=IPAddressV6("::1")) | |
~ScopedBoundPort () | |
SocketAddress | getAddress () const |
Private Attributes | |
std::unique_ptr< ScopedEventBaseThread > | ebth_ |
std::shared_ptr< AsyncServerSocket > | sock_ |
Definition at line 50 of file ScopedBoundPort.h.
|
explicit |
Definition at line 25 of file ScopedBoundPort.cpp.
References ebth_, folly::AsyncServerSocket::newSocket(), and sock_.
folly::ScopedBoundPort::~ScopedBoundPort | ( | ) |
Definition at line 33 of file ScopedBoundPort.cpp.
References ebth_, folly::gen::move, and sock_.
SocketAddress folly::ScopedBoundPort::getAddress | ( | ) | const |
Definition at line 37 of file ScopedBoundPort.cpp.
References sock_.
|
private |
Definition at line 57 of file ScopedBoundPort.h.
Referenced by ScopedBoundPort(), and ~ScopedBoundPort().
|
private |
Definition at line 58 of file ScopedBoundPort.h.
Referenced by getAddress(), ScopedBoundPort(), and ~ScopedBoundPort().