Lines Matching defs:StreamInterface

45 // StreamInterface is a generic asynchronous stream interface, supporting read,
51 // The following enumerations are declared outside of the StreamInterface
77 class StreamInterface : public MessageHandler {
83 virtual ~StreamInterface();
116 sigslot::signal3<StreamInterface*, int, int> SignalEvent;
242 StreamInterface();
248 DISALLOW_EVIL_CONSTRUCTORS(StreamInterface);
259 class StreamAdapterInterface : public StreamInterface,
262 explicit StreamAdapterInterface(StreamInterface* stream, bool owned = true);
329 void Attach(StreamInterface* stream, bool owned = true);
330 StreamInterface* Detach();
337 virtual void OnEvent(StreamInterface* stream, int events, int err) {
340 StreamInterface* stream() { return stream_; }
343 StreamInterface* stream_;
356 explicit StreamTap(StreamInterface* stream, StreamInterface* tap);
358 void AttachTap(StreamInterface* tap);
359 StreamInterface* DetachTap();
369 scoped_ptr<StreamInterface> tap_;
387 explicit StreamSegment(StreamInterface* stream);
388 explicit StreamSegment(StreamInterface* stream, size_t length);
407 class NullStream : public StreamInterface {
412 // StreamInterface Interface
422 // FileStream is a simple implementation of a StreamInterface, which does not
426 class FileStream : public StreamInterface {
504 class AsyncWriteStream : public StreamInterface {
507 AsyncWriteStream(StreamInterface* stream, talk_base::Thread* write_thread)
515 // StreamInterface Interface
532 talk_base::scoped_ptr<StreamInterface> stream_;
572 // MemoryStream is a simple implementation of a StreamInterface over in-memory
578 class MemoryStreamBase : public StreamInterface {
644 class FifoBuffer : public StreamInterface {
670 // StreamInterface methods
708 LoggingAdapter(StreamInterface* stream, LoggingSeverity level,
720 virtual void OnEvent(StreamInterface* stream, int events, int err);
735 class StringStream : public StreamInterface {
777 explicit StreamReference(StreamInterface* stream);
778 StreamInterface* GetStream() { return stream(); }
779 StreamInterface* NewReference();
785 explicit StreamRefCount(StreamInterface* stream)
804 StreamInterface* stream_;
812 StreamInterface* stream);
829 StreamResult Flow(StreamInterface* source,
831 StreamInterface* sink, size_t* data_len = NULL);