Home
last modified time | relevance | path

Searched refs:SocketStream (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/base/
Dsocketstream.cc15 SocketStream::SocketStream(AsyncSocket* socket) : socket_(NULL) { in SocketStream() function in rtc::SocketStream
19 SocketStream::~SocketStream() { in ~SocketStream()
23 void SocketStream::Attach(AsyncSocket* socket) { in Attach()
28 socket_->SignalConnectEvent.connect(this, &SocketStream::OnConnectEvent); in Attach()
29 socket_->SignalReadEvent.connect(this, &SocketStream::OnReadEvent); in Attach()
30 socket_->SignalWriteEvent.connect(this, &SocketStream::OnWriteEvent); in Attach()
31 socket_->SignalCloseEvent.connect(this, &SocketStream::OnCloseEvent); in Attach()
35 AsyncSocket* SocketStream::Detach() { in Detach()
47 StreamState SocketStream::GetState() const { in GetState()
60 StreamResult SocketStream::Read(void* buffer, size_t buffer_len, in Read()
[all …]
Dsocketstream.h22 class SocketStream : public StreamInterface, public sigslot::has_slots<> {
24 explicit SocketStream(AsyncSocket* socket);
25 ~SocketStream() override;
54 RTC_DISALLOW_COPY_AND_ASSIGN(SocketStream);
Dsocketpool.h25 class SocketStream; variable
109 SocketStream* stream_;
Dsocketpool.cc136 return new SocketStream(socket); in RequestConnectedStream()
175 stream_ = new SocketStream(socket); in RequestConnectedStream()
Dssladapter_unittest.cc232 rtc::SocketStream* stream = new rtc::SocketStream(socket); in DoHandshake()
Dhttpserver.cc274 StreamInterface* stream = new SocketStream(incoming); in OnReadEvent()
/external/webrtc/webrtc/libjingle/xmpp/
Dxmppsocket.cc59 stream_ = new rtc::SocketStream(cricket_socket_); in CreateCricketSocket()