コード例 #1
0
        public TyonSolidObject(object t, StreamSystemStream s, TyonSettings ts, TyonHydrationMode m)
        {
            target = t;
            stream = s;

            settings = ts;
            mode     = m;
        }
コード例 #2
0
 public StreamMonitor_Identity(StreamSystemStream s) : base(s)
 {
 }
コード例 #3
0
 public StreamMonitor(StreamSystemStream s)
 {
     stream_system_stream = s;
 }
コード例 #4
0
 static public AttemptResult WriteObject(this StreamSystemStream item, object to_write, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().WriteObject(item.GetPath(), to_write, milliseconds));
 }
コード例 #5
0
 static public T ReadObject <T>(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().ReadObject <T>(item.GetPath(), milliseconds));
 }
コード例 #6
0
 public StreamMonitor_Value_Hash(StreamSystemStream s) : base(s, null)
 {
 }
コード例 #7
0
 static public StreamMonitor CreateHashMonitor(this StreamSystemStream item)
 {
     return(new StreamMonitor_Value_Hash(item));
 }
コード例 #8
0
 static public AttemptResult AttemptReadIntoStream(this StreamSystemStream item, Stream destination, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadIntoStream(item.GetPath(), destination, milliseconds));
 }
コード例 #9
0
 static public AttemptResult WriteStreamTo(this StreamSystemStream item, Stream source, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().WriteStreamTo(item.GetPath(), source, milliseconds));
 }
コード例 #10
0
 static public AttemptResult AttemptReadBitmap(this StreamSystemStream item, out Bitmap bitmap, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadBitmap(item.GetPath(), out bitmap, milliseconds));
 }
コード例 #11
0
 static public Bitmap ReadBitmap(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().ReadBitmap(item.GetPath(), milliseconds));
 }
コード例 #12
0
 public BufferedTextWriter(StreamSystemStream s)
 {
     stream_system_stream = s;
 }
コード例 #13
0
 static public bool DoesExist(this StreamSystemStream item)
 {
     return(item.GetStreamSystem().DoesStreamExist(item.GetPath()));
 }
コード例 #14
0
 static public DateTime GetTimestamp(this StreamSystemStream item)
 {
     return(item.GetStreamSystem().GetStreamTimestamp(item.GetPath()));
 }
コード例 #15
0
 static public ByteSequence GetHash(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().GetStreamHash(item.GetPath(), milliseconds));
 }
コード例 #16
0
 static public AttemptResult AttemptReadBytes(this StreamSystemStream item, Process <byte[]> process, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadBytes(item.GetPath(), process, milliseconds));
 }
コード例 #17
0
 static public StreamMonitor CreateTimestampMonitor(this StreamSystemStream item)
 {
     return(new StreamMonitor_Value_Timestamp(item));
 }
コード例 #18
0
 static public byte[] ReadBytes(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().ReadBytes(item.GetPath(), milliseconds));
 }
コード例 #19
0
 static public StreamMonitor CreateIdentityMonitor(this StreamSystemStream item)
 {
     return(new StreamMonitor_Identity(item));
 }
コード例 #20
0
 static public AttemptResult AttemptReadBytes <T>(this StreamSystemStream item, Operation <T, byte[]> operation, out T output, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadBytes <T>(item.GetPath(), operation, out output, milliseconds));
 }
コード例 #21
0
 public StreamSystemRelatedStream(StreamSystemStream s)
 {
     stream = s;
 }
コード例 #22
0
 static public T ReadBytes <T>(this StreamSystemStream item, Operation <T, byte[]> operation, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().ReadBytes <T>(item.GetPath(), operation, milliseconds));
 }
コード例 #23
0
 static public AttemptResult AttemptReadObject <T>(this StreamSystemStream item, out T obj, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadObject <T>(item.GetPath(), out obj, milliseconds));
 }
コード例 #24
0
 static public AttemptResult WriteBytes(this StreamSystemStream item, byte[] bytes, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().WriteBytes(item.GetPath(), bytes, milliseconds));
 }
コード例 #25
0
 static public AttemptResult AttemptReadObjectIfExists <T>(this StreamSystemStream item, ref T to_read, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().AttemptReadObjectIfExists <T>(item.GetPath(), ref to_read, milliseconds));
 }
コード例 #26
0
 public StreamMonitor_Value(StreamSystemStream s, T n) : base(s)
 {
     null_value = n;
     last_value = null_value;
 }
コード例 #27
0
 static public AttemptResult OpenWrite(this StreamSystemStream item, out Stream stream, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().OpenStreamForWriting(item.GetPath(), out stream, milliseconds));
 }
コード例 #28
0
 public StreamMonitor_Value_Timestamp(StreamSystemStream s) : base(s, DateTime.MinValue)
 {
 }
コード例 #29
0
 static public AttemptResult Copy(this StreamSystemStream item, StreamSystemStream dst, bool overwrite, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().CopyStream(item.GetPath(), dst.GetStreamSystem(), dst.GetPath(), overwrite, milliseconds));
 }
コード例 #30
0
 static public AttemptResult Write(this StreamSystemStream item, AttemptProcess <Stream> process, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(item.GetStreamSystem().Write(item.GetPath(), process, milliseconds));
 }