Server<(Of <(<'TRead, TWrite>)>)> Members
The Server<(Of <(<'TRead, TWrite>)>)> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Server<(Of <(<'TRead, TWrite>)>)> |
Constructs a new NamedPipeServer object that listens for client connections on the given pipeName.
|
Methods
Name | Description | |
---|---|---|
![]() |
Equals(System.Object) |
Determines whether the specified object is equal to the current object. (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.) |
![]() |
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.) |
![]() |
PushMessage(TWrite) |
Sends a message to all connected clients asynchronously.
This method returns immediately, possibly before the message has been sent to all clients.
|
![]() |
PushMessage(TWrite, String) |
push message to the given client.
|
![]() |
Start |
Begins listening for client connections in a separate background thread.
This method returns immediately.
|
![]() |
Stop |
Closes all open client connections and stops listening for new ones.
|
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
![]() |
ClientConnected |
Invoked whenever a client connects to the server.
|
![]() |
ClientDisconnected |
Invoked whenever a client disconnects from the server.
|
![]() |
ClientMessage |
Invoked whenever a client sends a message to the server.
|
![]() |
Error |
Invoked whenever an exception is thrown during a read or write operation.
|