Skip to main content

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

MembersDescriptions
{property} override ILogger LoggerGets 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

  • sender The sender of the message.

  • message The 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

  • clientName The name of the client or "Everyone" to indicate all clients.

  • documentPage The page number of the document.

  • documentPath The path to the document.

public inline virtual override async void SendMessage(string clientAddress,byte[] msg)

Sends a message to a specific client.

Parameters

  • clientAddress The address of the client.

  • msg The message to send as a byte array.

public inline virtual override void BroadcastMessage(byte[] msg)

Broadcasts a message to all connected clients.

Parameters

  • msg The message to broadcast as a byte array.

public inline virtual override void Dispose()

Releases all resources used by the NamedPipeServer.