Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/base/
Dasyncsocket.cc38 AsyncSocketAdapter::AsyncSocketAdapter(AsyncSocket* socket) : socket_(NULL) { in AsyncSocketAdapter() function in talk_base::AsyncSocketAdapter
42 AsyncSocketAdapter::~AsyncSocketAdapter() { in ~AsyncSocketAdapter()
46 void AsyncSocketAdapter::Attach(AsyncSocket* socket) { in Attach()
51 &AsyncSocketAdapter::OnConnectEvent); in Attach()
53 &AsyncSocketAdapter::OnReadEvent); in Attach()
55 &AsyncSocketAdapter::OnWriteEvent); in Attach()
57 &AsyncSocketAdapter::OnCloseEvent); in Attach()
Dopenssladapter.cc290 bio = BIO_new_socket(static_cast<AsyncSocketAdapter*>(socket_)); in BeginSSL()
345 AsyncSocketAdapter::OnConnectEvent(this); in ContinueSSL()
350 AsyncSocketAdapter::OnReadEvent(this); in ContinueSSL()
352 AsyncSocketAdapter::OnWriteEvent(this); in ContinueSSL()
380 AsyncSocketAdapter::OnCloseEvent(this, err); in Error()
413 return AsyncSocketAdapter::Send(pv, cb); in Send()
468 return AsyncSocketAdapter::Recv(pv, cb); in Recv()
521 return AsyncSocketAdapter::Close(); in Close()
540 AsyncSocketAdapter::OnConnectEvent(socket); in OnConnectEvent()
546 AsyncSocketAdapter::OnCloseEvent(socket, err); in OnConnectEvent()
[all …]
Dfirewallsocketserver.cc38 class FirewallSocket : public AsyncSocketAdapter {
41 : AsyncSocketAdapter(socket), server_(server), type_(type) { in FirewallSocket()
55 return AsyncSocketAdapter::Connect(addr); in Connect()
69 return AsyncSocketAdapter::SendTo(pv, cb, addr); in SendTo()
78 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom()
88 return AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom()
97 return AsyncSocketAdapter::Listen(backlog); in Listen()
101 while (AsyncSocket* sock = AsyncSocketAdapter::Accept(&addr)) { in Accept()
Dschanneladapter.cc318 AsyncSocketAdapter::OnConnectEvent(this); in ProcessContext()
427 AsyncSocketAdapter::OnCloseEvent(this, err); in Error()
435 int ret = AsyncSocketAdapter::Recv(buffer, sizeof(buffer)); in Read()
452 int sent = AsyncSocketAdapter::Send(&outbuf[pos], outbuf.size() - pos); in Flush()
479 return AsyncSocketAdapter::Send(pv, cb); in Send()
560 return AsyncSocketAdapter::Recv(pv, cb); in Recv()
617 return AsyncSocketAdapter::Close(); in Close()
636 AsyncSocketAdapter::OnConnectEvent(socket); in OnConnectEvent()
649 AsyncSocketAdapter::OnReadEvent(socket); in OnReadEvent()
665 AsyncSocketAdapter::OnReadEvent(this); in OnReadEvent()
[all …]
Dsocketadapters.cc59 : AsyncSocketAdapter(socket), buffer_size_(size), in BufferedReadAdapter()
74 return AsyncSocketAdapter::Send(pv, cb); in Send()
98 int res = AsyncSocketAdapter::Recv(pv, cb); in Recv()
113 AsyncSocketAdapter::OnReadEvent(socket); in OnReadEvent()
854 : AsyncSocketAdapter(socket), level_(level), hex_mode_(hex_mode) { in LoggingSocketAdapter()
861 int res = AsyncSocketAdapter::Send(pv, cb); in Send()
869 int res = AsyncSocketAdapter::SendTo(pv, cb, addr); in SendTo()
876 int res = AsyncSocketAdapter::Recv(pv, cb); in Recv()
883 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom()
898 AsyncSocketAdapter::OnConnectEvent(socket); in OnConnectEvent()
[all …]
Dssladapter.h37 class SSLAdapter : public AsyncSocketAdapter {
40 : AsyncSocketAdapter(socket), ignore_bad_cert_(false) { } in SSLAdapter()
Dasyncsocket.h53 class AsyncSocketAdapter : public AsyncSocket, public sigslot::has_slots<> {
59 explicit AsyncSocketAdapter(AsyncSocket* socket);
60 virtual ~AsyncSocketAdapter();
Dsslsocketfactory.cc44 class ProxySocketAdapter : public AsyncSocketAdapter {
47 : AsyncSocketAdapter(NULL), factory_(factory), type_(type), in ProxySocketAdapter()
100 if (0 == AsyncSocketAdapter::Connect(remote_)) { in OnProxyDetectionComplete()
Dsocketadapters.h48 class BufferedReadAdapter : public AsyncSocketAdapter {
58 return AsyncSocketAdapter::Send(pv, cb); in DirectSend()
234 class LoggingSocketAdapter : public AsyncSocketAdapter {