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
| Members | Descriptions |
|---|---|
{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. |
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
-
certificateThe path to the SSL certificate file. -
certificatePasswordThe password for the SSL certificate. -
portThe port on which the server will listen. Default is 5555. -
localDetermines 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
-
certificateThe path to the SSL certificate file. -
certificatePasswordThe password for the SSL certificate. -
portThe port on which the server will listen. Default is 5555. -
localDetermines 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
-
certificateThe X509Certificate2 to be used for SSL. -
portThe port on which the server will listen. Default is 5555. -
localDetermines 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.