28 typedef std::unique_ptr<MockAsyncServerSocket, Destructor>
UniquePtr;
37 void(
const std::vector<folly::IPAddress>& ipAddresses,
uint16_t port));
MOCK_METHOD3(addAcceptCallback, void(AcceptCallback *callback, EventBase *eventBase, uint32_t maxAtOnce))
MOCK_METHOD1(bind, void(const folly::SocketAddress &address))
MOCK_METHOD2(bind, void(const std::vector< folly::IPAddress > &ipAddresses, uint16_t port))
virtual void bind(const SocketAddress &address)
—— Concurrent Priority Queue Implementation ——
virtual void listen(int backlog)
virtual void startAccepting()
MOCK_METHOD0(startAccepting, void())
std::unique_ptr< MockAsyncServerSocket, Destructor > UniquePtr
virtual void addAcceptCallback(AcceptCallback *callback, EventBase *eventBase, uint32_t maxAtOnce=kDefaultCallbackAcceptAtOnce)