Reference
OpcServerBase Class
Provides the base class of OpcServer and OpcDiscoveryServer, which maintains the base addresses and the life cycle (see State) of a server.
Reference
OpcServerBase Class
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcServerBase Members
Provides the base class of OpcServer and OpcDiscoveryServer, which maintains the base addresses and the life cycle (see State) of a server.
Syntax
csharp
public abstract class OpcServerBase : OpcApplicationInstance<OpcTransport, OpcServerSecurity>vbnet
Public MustInherit Class OpcServerBase
Inherits OpcApplicationInstance(Of OpcTransport, OpcServerSecurity)Inheritance
Object → OpcApplicationInstance<OpcTransport, OpcServerSecurity> → OpcServerBase
Implements
Derived types
Constructors
| Name | Description |
|---|---|
| OpcServerBase | Initializes a new instance of the OpcServerBase class using the type specified. |
Properties
| Name | Description |
|---|---|
| Address | Gets or sets the ( |
| Addresses | Gets a read-only collection of Uri instances representing the base addresses used by the server. |
| Authentication | Gets the Opc |
| Binding | Gets the OpcServerBinding instance used to maintain the different binding options used by the server application. |
| Configuration | Gets or sets an instance of the Opc |
| Name | Gets or sets the name of the server. |
| Namespaces | Gets a read-only collection of namespaces used by the server. |
| State | Gets a value that indicates the current state of the server. |
Methods
| Name | Description |
|---|---|
| Create | Creates a new instance of the Opc |
| Create | Creates the configuration which is used to start the server. |
| CreateSecurity | Creates a new instance of the Opc |
| CreateTransport | Creates a new instance of the OpcTransport class. |
| DenyIfNotStarted | Verifies whether the server is in started state. |
| Dispose | Releases the unmanaged resources used by the OpcServerBase and optionally releases the managed resources. |
| GetInfo | Gets the information about the product of the server. |
| GetInfoCore | Provides the information about the product of the server. |
| OnStarted | Raises the Started event of the OpcServerBase. |
| OnStarting | Raises the Starting event of the OpcServerBase. |
| OnStateChanged | Raises the StateChanged event of the OpcServerBase. |
| OnStopped | Raises the Stopped event of the OpcServerBase. |
| OnStopping | Raises the Stopping event of the OpcServerBase. |
| OnSuspended | Raises the Suspended event of the OpcServerBase. |
| OnSuspending | Raises the Suspending event of the OpcServerBase. |
| RegisterAddress | Registers the address specified as one of the base addresses used by the server. |
| Resume | Resumes the suspended server. |
| ResumeCore | When overridden in a derived class, resumes the suspended server. |
| Setup | Sets up the configuration specified before the server is started. |
| Start | Starts the server. |
| StartCore | When overridden in a derived class, starts the server using the configuration specified. |
| Stop | Stops the server. |
| StopCore | When implemented in a derived class, stops the server. |
| Suspend | Suspends the started server. |
| SuspendCore | When overridden in a derived class, suspends the started server. |
| Unregister | Unregisters the address specified from the list of base addresses used by the server. |
Events
| Name | Description |
|---|---|
| Started | Occurs when the State of the server changes to Started. |
| Starting | Occurs when the State of the server changes to Starting. |
| StateChanged | Occurs when ever the State property has been changed to a different value. |
| Stopped | Occurs when the State of the server changes to Stopped. |
| Stopping | Occurs when the State of the server changes to Stopping. |
| Suspended | Occurs when the State of the server changes to Suspended. |
| Suspending | Occurs when the State of the server changes to Suspending. |
Inherits members from OpcApplicationInstance<OpcTransport, OpcServerSecurity>.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

