Searched refs:SocketStream (Results 1 – 7 of 7) sorted by relevance
15 SocketStream::SocketStream(AsyncSocket* socket) : socket_(NULL) { in SocketStream() function in rtc::SocketStream19 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 …]
22 class SocketStream : public StreamInterface, public sigslot::has_slots<> {24 explicit SocketStream(AsyncSocket* socket);25 ~SocketStream() override;54 RTC_DISALLOW_COPY_AND_ASSIGN(SocketStream);
25 class SocketStream; variable109 SocketStream* stream_;
136 return new SocketStream(socket); in RequestConnectedStream()175 stream_ = new SocketStream(socket); in RequestConnectedStream()
232 rtc::SocketStream* stream = new rtc::SocketStream(socket); in DoHandshake()
274 StreamInterface* stream = new SocketStream(incoming); in OnReadEvent()
59 stream_ = new rtc::SocketStream(cricket_socket_); in CreateCricketSocket()