Skip to main content

class Wacom::Kiosk::Integrator::ServerFactory

Provides a simplified interface to wrap and instantiate different types of server instances, including MQServer with SSL certificate configuration or a default NamedPipeServer.

Summary

MembersDescriptions
{property} Server ServerServer Instance
public inline Server Create(string certificate,string certificatePassword,int port,bool local,string useNamedPipeServer)Initializes a new instance of the ServerWrapper class for a TCP Server using a certificate file.
public inline MQServer Create(string certificate,string certificatePassword,int port,bool local)Initializes a new instance of the ServerWrapper class for a TCP Server using a certificate file.
public inline MQServer Create(X509Certificate2 certificate,int port,bool local)Initializes a new instance of the ServerWrapper class for a TCP Server using an X509Certificate2.
public inline NamedPipeServer Create(string certificate,string certificatePassword)Initializes a new instance of the ServerWrapper class for a NamedPipeServer. This constructor creates a server instance that does not require SSL configuration, suitable for local IPC scenarios.

Members

{property} Server Server

Server Instance

public inline Server Create(string certificate,string certificatePassword,int port,bool local,string useNamedPipeServer)

Initializes a new instance of the ServerWrapper class for a TCP Server using a certificate file.

Parameters

  • certificate The path to the SSL certificate file.

  • certificatePassword The password for the SSL certificate.

  • port The port on which the server will listen. Default is 5555.

  • local Determines whether the server should only accept local connections. Default is false.

public inline MQServer Create(string certificate,string certificatePassword,int port,bool local)

Initializes a new instance of the ServerWrapper class for a TCP Server using a certificate file.

Parameters

  • certificate The path to the SSL certificate file.

  • certificatePassword The password for the SSL certificate.

  • port The port on which the server will listen. Default is 5555.

  • local Determines whether the server should only accept local connections. Default is false.

public inline MQServer Create(X509Certificate2 certificate,int port,bool local)

Initializes a new instance of the ServerWrapper class for a TCP Server using an X509Certificate2.

Parameters

  • certificate The X509Certificate2 to be used for SSL.

  • port The port on which the server will listen. Default is 5555.

  • local Determines whether the server should only accept local connections. Default is false.

public inline NamedPipeServer Create(string certificate,string certificatePassword)

Initializes a new instance of the ServerWrapper class for a NamedPipeServer. This constructor creates a server instance that does not require SSL configuration, suitable for local IPC scenarios.