Skip to content

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 ​

abstract

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 ​

NameDescription
OpcServerBaseprotected · 3 overloadsInitializes a new instance of the OpcServerBase class using the type specified.

Properties ​

NameDescription
AddressGets or sets the (first) base address of the server.
AddressesGets a read-only collection of Uri instances representing the base addresses used by the server.
AuthenticationLimitssince v2.50Gets the OpcAuthenticationLimits instance used to maintain the different authentication limits used by the server.
BindingGets the OpcServerBinding instance used to maintain the different binding options used by the server application.
ConfigurationoverrideGets or sets an instance of the OpcApplicationConfiguration class which is used as a low-level representation of the code/file based server application configuration.
NameGets or sets the name of the server.
Namespacesoverride · since v2.12Gets a read-only collection of namespaces used by the server.
StateGets a value that indicates the current state of the server.

Methods ​

NameDescription
CreateAuthenticationLimitsprotected · virtual · since v2.50Creates a new instance of the OpcAuthenticationLimits class.
CreateConfigurationprotected · virtualCreates the configuration which is used to start the server.
CreateSecurityprotected · override · since v2.6Creates a new instance of the OpcServerSecurity class.
CreateTransportprotected · override · since v2.6Creates a new instance of the OpcTransport class.
DenyIfNotStartedprotectedVerifies whether the server is in started state.
Disposeprotected · overrideReleases the unmanaged resources used by the OpcServerBase and optionally releases the managed resources.
GetInfoGets the information about the product of the server.
GetInfoCoreprotected · virtualProvides the information about the product of the server.
OnStartedprotected · virtualRaises the Started event of the OpcServerBase.
OnStartingprotected · virtualRaises the Starting event of the OpcServerBase.
OnStateChangedprotected · virtualRaises the StateChanged event of the OpcServerBase.
OnStoppedprotected · virtualRaises the Stopped event of the OpcServerBase.
OnStoppingprotected · virtualRaises the Stopping event of the OpcServerBase.
OnSuspendedprotected · virtual · since v2.50Raises the Suspended event of the OpcServerBase.
OnSuspendingprotected · virtual · since v2.50Raises the Suspending event of the OpcServerBase.
RegisterAddress2 overloadsRegisters the address specified as one of the base addresses used by the server.
Resumesince v2.11Resumes the suspended server.
ResumeCoreprotected · virtual · since v2.11When overridden in a derived class, resumes the suspended server.
Setupprotected · override · since v2.6Sets up the configuration specified before the server is started.
StartStarts the server.
StartCoreprotected · virtualWhen overridden in a derived class, starts the server using the configuration specified.
StopStops the server.
StopCoreprotected · abstractWhen implemented in a derived class, stops the server.
Suspendsince v2.11Suspends the started server.
SuspendCoreprotected · virtual · since v2.11When overridden in a derived class, suspends the started server.
UnregisterAddress2 overloadsUnregisters the address specified from the list of base addresses used by the server.

Events ​

NameDescription
StartedOccurs when the State of the server changes to Started.
StartingOccurs when the State of the server changes to Starting.
StateChangedOccurs when ever the State property has been changed to a different value.
StoppedOccurs when the State of the server changes to Stopped.
StoppingOccurs when the State of the server changes to Stopping.
Suspendedsince v2.50Occurs when the State of the server changes to Suspended.
Suspendingsince v2.50Occurs when the State of the server changes to Suspending.

Inherits members from OpcApplicationInstance<OpcTransport, OpcServerSecurity>.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59