Devesprit.Scripter

NamedPipeClient<(Of <(<'TRead, TWrite>)>)> Members

The NamedPipeClient<(Of <(<'TRead, TWrite>)>)> type exposes the following members.

Constructors


  Name Description
Public method NamedPipeClient<(Of <(<'TRead, TWrite>)>)>
Constructs a new NamedPipeClient to connect to the [NamedPipeServer{TRead, TWrite}] specified by pipeName.

Methods


  Name Description
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PushMessage
Sends a message to the server over a named pipe.
Public method Start
Connects to the named pipe server asynchronously. This method returns immediately, possibly before the connection has been established.
Public method Stop
Closes the named pipe.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method WaitForConnection()()()()
Public method WaitForConnection(Int32)
Public method WaitForConnection(TimeSpan)
Public method WaitForDisconnection()()()()
Public method WaitForDisconnection(Int32)
Public method WaitForDisconnection(TimeSpan)

Properties


  Name Description
Public property AutoReconnect
Gets or sets whether the client should attempt to reconnect when the pipe breaks due to an error or the other end terminating the connection. Default value is true.

Events


  Name Description
Public event Disconnected
Invoked when the client disconnects from the server (e.g., the pipe is closed or broken).
Public event Error
Invoked whenever an exception is thrown during a read or write operation on the named pipe.
Public event ServerMessage
Invoked whenever a message is received from the server.