hasmer
Public Types | Public Member Functions | Properties | List of all members
Hasmer.LSP.Tee Class Reference
Inheritance diagram for Hasmer.LSP.Tee:

Public Types

enum class  StreamOwnership { OwnNone = 0x0 , OwnPrimaryStream = 0x1 , OwnSlaveStream = 0x2 , OwnBoth = OwnPrimaryStream | OwnSlaveStream }
 
enum class  SlaveFailAction { Propogate , Ignore , Filter }
 
enum class  SlaveFailMethod { Read , Write , Seek }
 

Public Member Functions

delegate SlaveFailAction SlaveFailHandler (object oSender, SlaveFailMethod method, Exception exc)
 
 Tee (Stream primaryStream, Stream slaveStream, StreamOwnership streamsOwned)
 
override void Close ()
 
override void Flush ()
 
override void SetLength (long len)
 
override int Read (byte[] buffer, int offset, int count)
 
override void Write (byte[] buffer, int offset, int count)
 
override long Seek (long offset, SeekOrigin origin)
 

Properties

StreamOwnership StreamsOwned [get, set]
 
Stream PrimaryStream [get]
 
Stream SlaveStream [get]
 
int LastReadResult [get]
 
SlaveFailAction SlaveFailActions [set]
 
SlaveFailHandler SlaveFailFilters [set]
 
SlaveFailAction SlaveReadFailAction [get, set]
 
SlaveFailAction SlaveWriteFailAction [get, set]
 
SlaveFailAction SlaveSeekFailAction [get, set]
 
SlaveFailHandler SlaveWriteFailFilter [get, set]
 
SlaveFailHandler SlaveReadFailFilter [get, set]
 
SlaveFailHandler SlaveSeekFailFilter [get, set]
 
override bool CanRead [get]
 
override bool CanSeek [get]
 
override bool CanWrite [get]
 
override long Length [get]
 
override long Position [get, set]
 

The documentation for this class was generated from the following file: