class Wacom::Kiosk::Integrator::NamedPipeServer
class Wacom::Kiosk::Integrator::NamedPipeServer
: public Wacom.Kiosk.Integrator.Server
Represents a server using named pipes for inter-process communication.
Summary
| Members | Descriptions |
|---|---|
{property} override ILogger Logger | Gets or sets the logger used by the server. |
public byte[] AesPasswordCipher | |
public inline NamedPipeServer(string PathToCertificate,string Password) | Initializes a new instance of the NamedPipeServer class. |
public inline async Task MessageReceived(object sender,byte[] message) | Processes received messages. |
public inline virtual override void UpdateClientContext(string clientName,int documentPage,string documentPath) | Updates the document context for a specific client or all clients. |
public inline virtual override async void SendMessage(string clientAddress,byte[] msg) | Sends a message to a specific client. |
public inline virtual override void BroadcastMessage(byte[] msg) | Broadcasts a message to all connected clients. |
public inline virtual override void Dispose() | Releases all resources used by the NamedPipeServer. |
Members
{property} override ILogger Logger
Gets or sets the logger used by the server.
public byte[] AesPasswordCipher
public inline NamedPipeServer(string PathToCertificate,string Password)
Initializes a new instance of the NamedPipeServer class.
public inline async Task MessageReceived(object sender,byte[] message)
Processes received messages.
Parameters
-
senderThe sender of the message. -
messageThe received message as a byte array.
public inline virtual override void UpdateClientContext(string clientName,int documentPage,string documentPath)
Updates the document context for a specific client or all clients.
Parameters
-
clientNameThe name of the client or "Everyone" to indicate all clients. -
documentPageThe page number of the document. -
documentPathThe path to the document.
public inline virtual override async void SendMessage(string clientAddress,byte[] msg)
Sends a message to a specific client.
Parameters
-
clientAddressThe address of the client. -
msgThe message to send as a byte array.
public inline virtual override void BroadcastMessage(byte[] msg)
Broadcasts a message to all connected clients.
Parameters
msgThe message to broadcast as a byte array.
public inline virtual override void Dispose()
Releases all resources used by the NamedPipeServer.