Home
last modified time | relevance | path

Searched refs:AsyncSocketAdapter (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/base/
Dasyncsocket.cc21 AsyncSocketAdapter::AsyncSocketAdapter(AsyncSocket* socket) : socket_(NULL) { 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()
[all …]
Dopenssladapter.cc339 bio = BIO_new_socket(static_cast<AsyncSocketAdapter*>(socket_)); in BeginSSL()
394 AsyncSocketAdapter::OnConnectEvent(this); in ContinueSSL()
399 AsyncSocketAdapter::OnReadEvent(this); in ContinueSSL()
401 AsyncSocketAdapter::OnWriteEvent(this); in ContinueSSL()
434 AsyncSocketAdapter::OnCloseEvent(this, err); in Error()
470 return AsyncSocketAdapter::Send(pv, cb); in Send()
537 return AsyncSocketAdapter::Recv(pv, cb); in Recv()
605 return AsyncSocketAdapter::Close(); in Close()
633 AsyncSocketAdapter::OnConnectEvent(socket); in OnConnectEvent()
639 AsyncSocketAdapter::OnCloseEvent(socket, err); in OnConnectEvent()
[all …]
Dfirewallsocketserver.cc22 class FirewallSocket : public AsyncSocketAdapter {
25 : AsyncSocketAdapter(socket), server_(server), type_(type) { in FirewallSocket()
39 return AsyncSocketAdapter::Connect(addr); in Connect()
53 return AsyncSocketAdapter::SendTo(pv, cb, addr); in SendTo()
62 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom()
72 return AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom()
81 return AsyncSocketAdapter::Listen(backlog); in Listen()
85 while (AsyncSocket* sock = AsyncSocketAdapter::Accept(&addr)) { in Accept()
Dasyncsocket.h44 class AsyncSocketAdapter : public AsyncSocket, public sigslot::has_slots<> {
50 explicit AsyncSocketAdapter(AsyncSocket* socket);
51 ~AsyncSocketAdapter() override;
Dsocketadapters.cc44 : AsyncSocketAdapter(socket), buffer_size_(size), in BufferedReadAdapter()
59 return AsyncSocketAdapter::Send(pv, cb); in Send()
83 int res = AsyncSocketAdapter::Recv(pv, cb); in Recv()
106 AsyncSocketAdapter::OnReadEvent(socket); in OnReadEvent()
856 : AsyncSocketAdapter(socket), level_(level), hex_mode_(hex_mode) { in LoggingSocketAdapter()
863 int res = AsyncSocketAdapter::Send(pv, cb); in Send()
871 int res = AsyncSocketAdapter::SendTo(pv, cb, addr); in SendTo()
878 int res = AsyncSocketAdapter::Recv(pv, cb); in Recv()
885 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom()
900 AsyncSocketAdapter::OnConnectEvent(socket); in OnConnectEvent()
[all …]
Dssladapter.h21 class SSLAdapter : public AsyncSocketAdapter {
24 : AsyncSocketAdapter(socket), ignore_bad_cert_(false) { } in SSLAdapter()
Dsslsocketfactory.cc28 class ProxySocketAdapter : public AsyncSocketAdapter {
31 : AsyncSocketAdapter(NULL), factory_(factory), family_(family), in ProxySocketAdapter()
84 if (0 == AsyncSocketAdapter::Connect(remote_)) { in OnProxyDetectionComplete()
Dsocketadapters.h31 class BufferedReadAdapter : public AsyncSocketAdapter {
41 return AsyncSocketAdapter::Send(pv, cb); in DirectSend()
218 class LoggingSocketAdapter : public AsyncSocketAdapter {