Home | History | Annotate | Download | only in base

Lines Matching defs:StreamInterface

43 // StreamInterface is a generic asynchronous stream interface, supporting read,
49 // The following enumerations are declared outside of the StreamInterface
75 class StreamInterface : public MessageHandler {
81 virtual ~StreamInterface();
114 sigslot::signal3<StreamInterface*, int, int> SignalEvent;
240 StreamInterface();
246 DISALLOW_EVIL_CONSTRUCTORS(StreamInterface);
257 class StreamAdapterInterface : public StreamInterface,
260 explicit StreamAdapterInterface(StreamInterface* stream, bool owned = true);
327 void Attach(StreamInterface* stream, bool owned = true);
328 StreamInterface* Detach();
335 virtual void OnEvent(StreamInterface* stream, int events, int err) {
338 StreamInterface* stream() { return stream_; }
341 StreamInterface* stream_;
354 explicit StreamTap(StreamInterface* stream, StreamInterface* tap);
356 void AttachTap(StreamInterface* tap);
357 StreamInterface* DetachTap();
367 scoped_ptr<StreamInterface> tap_;
385 explicit StreamSegment(StreamInterface* stream);
386 explicit StreamSegment(StreamInterface* stream, size_t length);
405 class NullStream : public StreamInterface {
410 // StreamInterface Interface
420 // FileStream is a simple implementation of a StreamInterface, which does not
424 class FileStream : public StreamInterface {
474 class AsyncWriteStream : public StreamInterface {
477 AsyncWriteStream(StreamInterface* stream, talk_base::Thread* write_thread)
485 // StreamInterface Interface
502 talk_base::scoped_ptr<StreamInterface> stream_;
542 // MemoryStream is a simple implementation of a StreamInterface over in-memory
548 class MemoryStreamBase : public StreamInterface {
614 class FifoBuffer : public StreamInterface {
640 // StreamInterface methods
678 LoggingAdapter(StreamInterface* stream, LoggingSeverity level,
690 virtual void OnEvent(StreamInterface* stream, int events, int err);
705 class StringStream : public StreamInterface {
747 explicit StreamReference(StreamInterface* stream);
748 StreamInterface* GetStream() { return stream(); }
749 StreamInterface* NewReference();
755 explicit StreamRefCount(StreamInterface* stream)
774 StreamInterface* stream_;
782 StreamInterface* stream);
799 StreamResult Flow(StreamInterface* source,
801 StreamInterface* sink, size_t* data_len = NULL);