Lines Matching refs:Acceptor
1 //===-- Acceptor.cpp --------------------------------------------*- C++ -*-===//
9 #include "Acceptor.h"
58 Status Acceptor::Listen(int backlog) {
62 Status Acceptor::Accept(const bool child_processes_inherit, Connection *&conn) {
71 Socket::SocketProtocol Acceptor::GetSocketProtocol() const {
75 const char *Acceptor::GetSocketScheme() const {
79 std::string Acceptor::GetLocalSocketId() const { return m_local_socket_id(); }
81 std::unique_ptr<Acceptor> Acceptor::Create(StringRef name,
106 return std::unique_ptr<Acceptor>();
125 return std::unique_ptr<Acceptor>(
126 new Acceptor(std::move(listener_socket_up), name, local_socket_id));
129 return std::unique_ptr<Acceptor>();
132 Acceptor::Acceptor(std::unique_ptr<Socket> &&listener_socket, StringRef name,