C# Class WebApplications.Utilities.Service.NamedPipeServer.NamedPipeConnection

Implements a connection to the service over a named pipe.
Inheritance: IConnection, IDisposable
Afficher le fichier Open project: webappsuk/CoreLibraries

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

NamedPipeConnection ( [ server ) : System

Initializes a new instance of the NamedPipeConnection class.

OnDisconnect ( ) : void

Called when the server disconnects.

Remove ( [ connectedCommand ) : void

Removes the specified connected command.

Start ( ) : void

Starts this instance.

ToString ( ) : string

Returns a System.String that represents this instance.

Private Methods

Méthode Description
Send ( [ message, CancellationToken token = default(CancellationToken) ) : Task

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

NamedPipeConnection() public méthode

Initializes a new instance of the NamedPipeConnection class.
public NamedPipeConnection ( [ server ) : System
server [ The server.
Résultat System

OnDisconnect() public méthode

Called when the server disconnects.
public OnDisconnect ( ) : void
Résultat void

Remove() public méthode

Removes the specified connected command.
public Remove ( [ connectedCommand ) : void
connectedCommand [ The connected command.
Résultat void

Start() public méthode

Starts this instance.
public Start ( ) : void
Résultat void

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( ) : string
Résultat string