Lines Matching refs:AsyncSocketAdapter
21 AsyncSocketAdapter::AsyncSocketAdapter(AsyncSocket* socket) : socket_(nullptr) { in AsyncSocketAdapter() function in rtc::AsyncSocketAdapter
25 AsyncSocketAdapter::~AsyncSocketAdapter() { in ~AsyncSocketAdapter()
29 void AsyncSocketAdapter::Attach(AsyncSocket* socket) { in Attach()
34 &AsyncSocketAdapter::OnConnectEvent); in Attach()
35 socket_->SignalReadEvent.connect(this, &AsyncSocketAdapter::OnReadEvent); in Attach()
36 socket_->SignalWriteEvent.connect(this, &AsyncSocketAdapter::OnWriteEvent); in Attach()
37 socket_->SignalCloseEvent.connect(this, &AsyncSocketAdapter::OnCloseEvent); in Attach()
41 SocketAddress AsyncSocketAdapter::GetLocalAddress() const { in GetLocalAddress()
45 SocketAddress AsyncSocketAdapter::GetRemoteAddress() const { in GetRemoteAddress()
49 int AsyncSocketAdapter::Bind(const SocketAddress& addr) { in Bind()
53 int AsyncSocketAdapter::Connect(const SocketAddress& addr) { in Connect()
57 int AsyncSocketAdapter::Send(const void* pv, size_t cb) { in Send()
61 int AsyncSocketAdapter::SendTo(const void* pv, in SendTo()
67 int AsyncSocketAdapter::Recv(void* pv, size_t cb, int64_t* timestamp) { in Recv()
71 int AsyncSocketAdapter::RecvFrom(void* pv, in RecvFrom()
78 int AsyncSocketAdapter::Listen(int backlog) { in Listen()
82 AsyncSocket* AsyncSocketAdapter::Accept(SocketAddress* paddr) { in Accept()
86 int AsyncSocketAdapter::Close() { in Close()
90 int AsyncSocketAdapter::GetError() const { in GetError()
94 void AsyncSocketAdapter::SetError(int error) { in SetError()
98 AsyncSocket::ConnState AsyncSocketAdapter::GetState() const { in GetState()
102 int AsyncSocketAdapter::GetOption(Option opt, int* value) { in GetOption()
106 int AsyncSocketAdapter::SetOption(Option opt, int value) { in SetOption()
110 void AsyncSocketAdapter::OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
114 void AsyncSocketAdapter::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
118 void AsyncSocketAdapter::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
122 void AsyncSocketAdapter::OnCloseEvent(AsyncSocket* socket, int err) { in OnCloseEvent()