Shell |
The ShellStream type exposes the following members.
| Name | Description | |
|---|---|---|
| BeginExpect(ExpectAction) | Begins the expect. | |
| BeginExpect(AsyncCallback, ExpectAction) | Begins the expect. | |
| BeginExpect(AsyncCallback, Object, ExpectAction) | Begins the expect. | |
| BeginExpect(TimeSpan, AsyncCallback, Object, ExpectAction) | Begins the expect. | |
| BeginRead |
Begins an asynchronous read operation.
(Inherited from Stream) | |
| BeginWrite |
Begins an asynchronous write operation.
(Inherited from Stream) | |
| Close |
Closes the current stream and releases any resources (such as sockets and
file handles) associated with the current stream.
(Inherited from Stream) | |
| Dispose |
Releases all resources used by the Crestron.SimplSharp.CrestronStream.Stream.
(Inherited from Stream) | |
| Dispose(Boolean) |
Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
(Overrides StreamDispose(Boolean)) | |
| EndExpect | Ends the execute. | |
| EndRead |
Waits for the pending asynchronous read to complete.
(Inherited from Stream) | |
| EndWrite |
Ends an asynchronous write operation.
(Inherited from Stream) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Expect(ExpectAction) | Expects the specified expression and performs action when one is found. | |
| Expect(Regex) | Expects the expression specified by regular expression. | |
| Expect(String) | Expects the expression specified by text. | |
| Expect(Regex, TimeSpan) | Expects the expression specified by regular expression. | |
| Expect(String, TimeSpan) | Expects the expression specified by text. | |
| Expect(TimeSpan, ExpectAction) | Expects the specified expression and performs action when one is found. | |
| Finalize |
Destructor for ShellStream.
(Overrides ObjectFinalize) | |
| Flush |
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides StreamFlush) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Read | Reads text available in the shell. | |
| Read(Byte, Int32, Int32) |
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
(Overrides StreamRead(Byte, Int32, Int32)) | |
| ReadByte |
Reads a byte from the stream and advances the position within the stream
by one byte, or returns -1 if at the end of the stream.
(Inherited from Stream) | |
| ReadLine | Reads the line from the shell. If line is not available it will block the execution and will wait for new line. | |
| ReadLine(TimeSpan) | Reads the line from the shell. If line is not available it will block the execution and will wait for new line. | |
| Seek |
This method is not supported.
(Overrides StreamSeek(Int64, SeekOrigin)) | |
| SetLength |
This method is not supported.
(Overrides StreamSetLength(Int64)) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| WaitHandle | Waits for the handle to be signaled or for an error to occurs. | |
| Write(String) | Writes the specified text to the shell. | |
| Write(Byte, Int32, Int32) |
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Overrides StreamWrite(Byte, Int32, Int32)) | |
| WriteByte |
Writes a byte to the current position in the stream and advances the position
within the stream by one byte.
(Inherited from Stream) | |
| WriteLine | Writes the line to the shell. |