DeviceDriverStream Class |
Namespace: ABB.Robotics.Controllers
public class DeviceDriverStream : Stream
The DeviceDriverStream type exposes the following members.
| Name | Description | |
|---|---|---|
| DeviceDriverStream(String) |
Opens the stream with Read access aginst the default controller
of a FP.
| |
| DeviceDriverStream(String, DeviceAccess) |
Opens a stream with the specified name and access.aginst the default controller
of a FP.
| |
| DeviceDriverStream(Controller, String) |
Opens the stream with Read access.
| |
| DeviceDriverStream(Controller, String, DeviceAccess) |
Opens a stream with the specified name and access.
|
| Name | Description | |
|---|---|---|
| CanRead |
Check if the stream can be read.
(Overrides StreamCanRead.) | |
| CanSeek |
Checks if the stream can be seeked.
(Overrides StreamCanSeek.) | |
| CanTimeout | Gets a value that determines whether the current stream can time out. (Inherited from Stream.) | |
| CanWrite |
Checks if the stream can be written.
(Overrides StreamCanWrite.) | |
| Length |
Not possible to read length from a device stream.
(Overrides StreamLength.) | |
| Position |
It is not possible the seek on a device stream.
(Overrides StreamPosition.) | |
| ReadTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from Stream.) | |
| WriteTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from Stream.) |
| Name | Description | |
|---|---|---|
| BeginRead | Begins an asynchronous read operation. (Inherited from Stream.) | |
| BeginWrite | Begins an asynchronous write operation. (Inherited from Stream.) | |
| Close |
Closes the stream object.
(Overrides StreamClose.) | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| CreateWaitHandle | Obsolete. Allocates a WaitHandle object. (Inherited from Stream.) | |
| Dispose | Releases all resources used by the Stream. (Inherited from Stream.) | |
| Dispose(Boolean) | Releases the unmanaged resources used by the Stream and optionally releases the managed resources. (Inherited from Stream.) | |
| EndRead | Waits for the pending asynchronous read to complete. (Inherited from Stream.) | |
| EndWrite | Ends an asynchronous write operation. (Inherited from Stream.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| Flush |
Flush data to stream, currently not implemented, all writes are
imediate against the controller.
(Overrides StreamFlush.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetType | Gets the type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| Read |
Reads a sequence of bytes from the stream.
(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.) | |
| Seek |
Not supported.
(Overrides StreamSeek(Int64, SeekOrigin).) | |
| SetLength |
Not supported.
(Overrides StreamSetLength(Int64).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Write |
Writes a sequence of bytes to the stream.
(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.) |