|
| MOCK_METHOD1 (bind, void(const folly::SocketAddress &address)) |
|
| MOCK_METHOD2 (bind, void(const std::vector< folly::IPAddress > &ipAddresses, uint16_t port)) |
|
| MOCK_METHOD1 (bind, void(uint16_t port)) |
|
| MOCK_METHOD1 (listen, void(int backlog)) |
|
| MOCK_METHOD0 (startAccepting, void()) |
|
| MOCK_METHOD3 (addAcceptCallback, void(AcceptCallback *callback, EventBase *eventBase, uint32_t maxAtOnce)) |
|
| AsyncServerSocket (AsyncServerSocket &&)=delete |
|
| AsyncServerSocket (EventBase *eventBase=nullptr) |
|
void | setShutdownSocketSet (const std::weak_ptr< ShutdownSocketSet > &wNewSS) |
|
void | destroy () override |
|
void | attachEventBase (EventBase *eventBase) |
|
void | detachEventBase () |
|
EventBase * | getEventBase () const override |
|
void | useExistingSocket (int fd) |
|
void | useExistingSockets (const std::vector< int > &fds) |
|
std::vector< int > | getSockets () const |
|
int | getSocket () const |
|
bool | setZeroCopy (bool enable) |
|
virtual void | bind (const SocketAddress &address) |
|
virtual void | bind (const std::vector< IPAddress > &ipAddresses, uint16_t port) |
|
virtual void | bind (uint16_t port) |
|
void | getAddress (SocketAddress *addressReturn) const override |
|
SocketAddress | getAddress () const |
|
std::vector< SocketAddress > | getAddresses () const |
|
virtual void | listen (int backlog) |
|
virtual void | addAcceptCallback (AcceptCallback *callback, EventBase *eventBase, uint32_t maxAtOnce=kDefaultCallbackAcceptAtOnce) |
|
void | removeAcceptCallback (AcceptCallback *callback, EventBase *eventBase) |
|
virtual void | startAccepting () |
|
void | pauseAccepting () |
|
int | stopAccepting (int shutdownFlags=-1) |
|
uint32_t | getMaxAcceptAtOnce () const |
|
void | setMaxAcceptAtOnce (uint32_t numConns) |
|
uint32_t | getMaxNumMessagesInQueue () const |
|
void | setMaxNumMessagesInQueue (uint32_t num) |
|
double | getAcceptRateAdjustSpeed () const |
|
void | setAcceptRateAdjustSpeed (double speed) |
|
void | setTosReflect (bool enable) |
|
bool | getTosReflect () |
|
std::size_t | getNumDroppedConnections () const |
|
int64_t | getNumPendingMessagesInQueue () const |
|
void | setKeepAliveEnabled (bool enabled) |
|
bool | getKeepAliveEnabled () const |
|
void | setReusePortEnabled (bool enabled) |
|
bool | getReusePortEnabled_ () const |
|
void | setCloseOnExec (bool closeOnExec) |
|
bool | getCloseOnExec () const |
|
void | setTFOEnabled (bool enabled, uint32_t maxTFOQueueSize) |
|
void | disableTransparentTls () |
|
bool | getAccepting () const |
|
void | setConnectionEventCallback (ConnectionEventCallback *const connectionEventCallback) |
|
ConnectionEventCallback * | getConnectionEventCallback () const |
|
bool | getDestroyPending () const |
|
virtual | ~DelayedDestructionBase ()=default |
|
virtual | ~AsyncSocketBase ()=default |
|
Definition at line 26 of file MockAsyncServerSocket.h.