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

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


  Name Description
Public method Server<(Of <(<'TRead, TWrite>)>)>
Constructs a new NamedPipeServer object that listens for client connections on the given pipeName.


  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(TWrite)
Sends a message to all connected clients asynchronously. This method returns immediately, possibly before the message has been sent to all clients.
Public method PushMessage(TWrite, String)
push message to the given client.
Public method Start
Begins listening for client connections in a separate background thread. This method returns immediately.
Public method Stop
Closes all open client connections and stops listening for new ones.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)


  Name Description
Public event ClientConnected
Invoked whenever a client connects to the server.
Public event ClientDisconnected
Invoked whenever a client disconnects from the server.
Public event ClientMessage
Invoked whenever a client sends a message to the server.
Public event Error
Invoked whenever an exception is thrown during a read or write operation.