
Public Member Functions | |
| PipedInputStream (PipedOutputStream src) | |
| PipedInputStream () | |
| virtual void | connect (PipedOutputStream src) |
| virtual int | read () |
| override int | read (byte[] b, int off, int len) |
| virtual int | available () |
| override void | close () |
| override int | Read (byte[] buffer, int offset, int count) |
| override int | ReadByte () |
| override void | WriteByte (byte value) |
| override void | Write (byte[] buffer, int offset, int count) |
| override void | Close () |
| override void | Flush () |
| override void | SetLength (long value) |
| override long | Seek (long offset, SeekOrigin origin) |
Properties | |
| override bool | CanRead [get] |
| override bool | CanWrite [get] |
| override bool | CanSeek [get] |
| override long | Length [get] |
| override long | Position [get, set] |
PipedOutputStream
Definition at line 35 of file PipedInputStream.cs.
| Tamir.Streams.PipedInputStream.PipedInputStream | ( | PipedOutputStream | src | ) |
Creates a
so that it is connected to the piped output streamsrc
src
| src | the stream to connect to. |
| IOException | if an I/O error occurs. |
Definition at line 86 of file PipedInputStream.cs.
| Tamir.Streams.PipedInputStream.PipedInputStream | ( | ) |
Creates a
so that it is not yet connected. It must be connected to aPipedOutputStream
java.io.PipedOutputStream.connect(java.io.PipedInputStream)
Definition at line 100 of file PipedInputStream.cs.
| virtual int Tamir.Streams.PipedInputStream.available | ( | ) | [virtual] |
Returns the number of bytes that can be read from this input stream without blocking. This method overrides the
method of the parent class.
| IOException | if an I/O error occurs. |
Definition at line 402 of file PipedInputStream.cs.
| override void Tamir.Streams.PipedInputStream.Close | ( | ) |
Definition at line 455 of file PipedInputStream.cs.
| override void Tamir.Streams.PipedInputStream.close | ( | ) | [virtual] |
Closes this piped input stream and releases any system resources associated with the stream.
| IOException | if an I/O error occurs. |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 420 of file PipedInputStream.cs.
| virtual void Tamir.Streams.PipedInputStream.connect | ( | PipedOutputStream | src | ) | [virtual] |
Causes this piped input stream to be connected to the piped output stream
src
IOException
If
src
snk
snk.connect(src)
or the call:
src.connect(snk)
The two calls have the same effect.
| src | The piped output stream to connect to. |
| IOException | if an I/O error occurs. |
Definition at line 129 of file PipedInputStream.cs.
| override void Tamir.Streams.PipedInputStream.Flush | ( | ) |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 481 of file PipedInputStream.cs.
| override int Tamir.Streams.PipedInputStream.Read | ( | byte[] | buffer, | |
| int | offset, | |||
| int | count | |||
| ) |
Definition at line 438 of file PipedInputStream.cs.
| override int Tamir.Streams.PipedInputStream.read | ( | byte[] | b, | |
| int | off, | |||
| int | len | |||
| ) | [virtual] |
Reads up to
len
len
IOException
| b | the buffer into which the data is read. | |
| off | the start offset of the data. | |
| len | the maximum number of bytes read. |
-1
| IOException | if an I/O error occurs. |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 350 of file PipedInputStream.cs.
| virtual int Tamir.Streams.PipedInputStream.read | ( | ) | [virtual] |
Reads the next byte of data from this piped input stream. The value byte is returned as an
int
0
255
-1
IOException
-1
| IOException | if the pipe is broken. |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 278 of file PipedInputStream.cs.
| override int Tamir.Streams.PipedInputStream.ReadByte | ( | ) |
Definition at line 443 of file PipedInputStream.cs.
| override long Tamir.Streams.PipedInputStream.Seek | ( | long | offset, | |
| SeekOrigin | origin | |||
| ) |
Definition at line 512 of file PipedInputStream.cs.
| override void Tamir.Streams.PipedInputStream.SetLength | ( | long | value | ) |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 508 of file PipedInputStream.cs.
| override void Tamir.Streams.PipedInputStream.Write | ( | byte[] | buffer, | |
| int | offset, | |||
| int | count | |||
| ) |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 452 of file PipedInputStream.cs.
| override void Tamir.Streams.PipedInputStream.WriteByte | ( | byte | value | ) |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 448 of file PipedInputStream.cs.
override bool Tamir.Streams.PipedInputStream.CanRead [get] |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 461 of file PipedInputStream.cs.
override bool Tamir.Streams.PipedInputStream.CanSeek [get] |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 475 of file PipedInputStream.cs.
override bool Tamir.Streams.PipedInputStream.CanWrite [get] |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 468 of file PipedInputStream.cs.
override long Tamir.Streams.PipedInputStream.Length [get] |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 486 of file PipedInputStream.cs.
override long Tamir.Streams.PipedInputStream.Position [get, set] |
Reimplemented from Tamir.SharpSsh.java.io.InputStream.
Definition at line 498 of file PipedInputStream.cs.
1.5.9