Reference
OpcServer Class
Represents an OPC UA server which provides the address space defined by its NodeManagers to its clients.
Reference
OpcServer Class
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcServer Members
Represents an OPC UA server which provides the address space defined by its NodeManagers to its clients.
Syntax
csharp
public class OpcServer : OpcServerBasevbnet
Public Class OpcServer
Inherits OpcServerBaseInheritance
Object → OpcApplicationInstance<OpcTransport, OpcServerSecurity> → OpcServerBase → OpcServer
Implements
Constructors
| Name | Description |
|---|---|
| OpcServer | Initializes a new instance of the OpcServer class using the DefaultAddress. |
Fields
| Name | Description |
|---|---|
| DefaultAddress | Defines the default address ( |
Properties
| Name | Description |
|---|---|
| Default | Gets the node manager used as the default node manager of the OpcServer. |
| Diagnostics | Gets the diagnostic summary information of the OpcServer. |
| Discovery | Gets the settings the OpcServer uses to make itself known to discovery servers. |
| Estimated | Gets or sets a value indicating the time at which the OpcServer is expected to be running. |
| Globalization | Gets the Opc |
| NodeManagers | Gets the node managers which provide the address space of the OpcServer. |
| OperationLimits | Gets the Opc |
| SystemContext | Gets the OpcContext which is used to store the context sensitive data and configuration used by the current OpcServer instance. |
| UseDynamic | Gets or sets a value indicating whether the current OpcServer shall use generic types to represent dynamically defined custom types. |
Methods
| Name | Description |
|---|---|
| Create | Creates the configuration of the OpcServer based on the configuration created by the base class. |
| Create | Creates and initializes a new instance of the Opc |
| GetDataType | Retrieves the OpcDataTypeInfo object which is known under the name specified. |
| GetDataTypes | Retrieves all OpcDataTypeInfo objects offered by the IOpcTypeProvider. |
| Get | Retrieves the systems used to describe the data exchanged via OPC UA. |
| GetEndpoints | Retrieves the endpoints provided by the OpcServer. |
| GetNodeType | Retrieves the OpcNodeTypeInfo object which is known under the name specified. |
| GetNodeTypes | Retrieves all OpcNodeTypeInfo objects offered by the IOpcTypeProvider. |
| Get | Retrieves the system used to describe the structural organisation via OPC UA. |
| GetSession | Retrieves the OpcSession associated with the sessionId specified. |
| GetSessions | Retrieves all currently known sessions created on the current OpcServer. |
| GetSubscriptions | Retrieves all currently known subscriptions created on the current OpcServer. |
| On | Raises the Certificate |
| On | Raises the RequestJudgement event of the OpcServer. |
| On | Raises the RequestProcessed event of the OpcServer. |
| On | Raises the Request |
| On | Raises the RequestValidated event of the OpcServer. |
| On | Raises the Request |
| On | Raises the SessionActivated event of the OpcServer. |
| On | Raises the Session |
| On | Raises the Session |
| OnSessionClosed | Raises the SessionClosed event of the OpcServer. |
| OnSessionClosing | Raises the SessionClosing event of the OpcServer. |
| OnSessionCreated | Raises the SessionCreated event of the OpcServer. |
| On | Raises the SessionCreating event of the OpcServer. |
| On | Raises the Subscription |
| On | Raises the Subscription |
| OnTypeResolve | Raises the TypeResolve event of the OpcServer. |
| Register | Registers the namespaceUri specified in the namespace table of the OpcServer unless it is already registered. |
| Register | Registers each of the namespaces specified by the namespaceUris in the namespace table of the OpcServer unless it is already registered. |
| ReportEvent | Produces a global event using the eventNode specified. |
| ResumeCore | Resumes the suspended server by setting the state of its underlying server instance to running. |
| StartCore | Starts the server using the configuration specified. |
| StopCore | Stops the server. |
| SuspendCore | Suspends the server by setting the state of its underlying server instance to suspended. |
Events
| Name | Description |
|---|---|
| Certificate | Occurs when a new certificate has been assigned to the OpcServer through a OpcSession using an identity which is in the role SecurityAdmin. |
| RequestJudgement | Occurs when the validation of a request does not fulfill the requirements for a valid request. |
| RequestProcessed | Occurs after the server processed a request, whether it succeeded or failed. |
| Request | Occurs as soon as the server received a request, before it checks the session and the user and before it decodes the request into the type of its service. |
| RequestValidated | Occurs after a request passed the validation, including the Request |
| Request | Occurs after the server checked the session and the user of a request and before it processes the request. |
| SessionActivated | Occurs when a session of the OpcServer has been activated. |
| Session | Occurs when a session of the OpcServer is about to be activated. |
| Session | Occurs when the server rejects the activation of a session. |
| SessionClosed | Occurs when a session of the OpcServer has been closed. |
| SessionClosing | Occurs when a session of the OpcServer is about to be closed. |
| SessionCreated | Occurs when a new session has been created on the OpcServer. |
| SessionCreating | Occurs when a new session is about to be created on the OpcServer. |
| Subscription | Occurs when a new subscription is created through a OpcSession. |
| Subscription | Occurs when an existing subscription of a OpcSession has been deleted. |
| TypeResolve | Occurs before the resolution of a data type takes place. |
Inherits members from OpcServerBase, OpcApplicationInstance<OpcTransport, OpcServerSecurity>.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

