.NET Based OPC UA Client/Server SDK
3.2.1.522
|
https://reference.opcfoundation.org/v105/Core/docs/Part18/4.4.1 More...
Inherits UnifiedAutomation.UaServer.BaseObjectModel, UnifiedAutomation.UaServer.IMethodDispatcher, and UnifiedAutomation.UaServer.IRoleMethods.
Public Member Functions | |
StatusCode | AddApplication (RequestContext context, RoleModel model, string ApplicationUri) |
This Method is used to add an application mapping rule to a Role. More... | |
StatusCode | AddEndpoint (RequestContext context, RoleModel model, EndpointType Endpoint) |
This Method is used to add an endpoint mapping rule to a Role. More... | |
StatusCode | AddIdentity (RequestContext context, RoleModel model, IdentityMappingRuleType Rule) |
This Method is used to add an identity mapping rule to a Role. More... | |
StatusCode | RemoveApplication (RequestContext context, RoleModel model, string ApplicationUri) |
This Method is used to remove an application mapping rule from a Role. More... | |
StatusCode | RemoveEndpoint (RequestContext context, RoleModel model, EndpointType Endpoint) |
This Method is used to remove an endpoint mapping rule from a Role. More... | |
StatusCode | RemoveIdentity (RequestContext context, RoleModel model, IdentityMappingRuleType Rule) |
This Method is used to remove an identity mapping rule from a Role. More... | |
RoleModel () | |
Initializes a new instance of the RoleModel class. More... | |
RoleModel (RoleModel template) | |
Initializes a new instance of the RoleModel class. More... | |
virtual CallMethodEventHandler | GetMethodDispatcher (RequestContext context, NodeId objectId, NodeId methodId) |
Gets the method dispatcher. More... | |
virtual StatusCode | DispatchMethod (RequestContext context, MethodHandle methodHandle, IList< Variant > inputArguments, List< StatusCode > inputArgumentResults, List< Variant > outputArguments) |
Dispatches the method. More... | |
Public Member Functions inherited from UnifiedAutomation.UaServer.BaseObjectModel | |
BaseObjectModel () | |
Initializes a new instance of the BaseObjectModel class. More... | |
BaseObjectModel (BaseObjectModel template) | |
Initializes a new instance of the BaseObjectModel class. More... | |
Public Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
virtual ModelHandle | GetModelHandle (StringTable namespaceUris, object instance) |
Gets the metadata handle. More... | |
virtual DataValue | GetValue (IMapperContext context, ModelMapping mapping) |
Gets the value associated with the mapping. More... | |
virtual bool | SetValue (IMapperContext context, ModelMapping mapping, DataValue value) |
Sets the value associated with the mapping. More... | |
Protected Member Functions | |
virtual bool | IsAdminRole () |
Return whether role is an admin role. More... | |
Properties | |
UaSchema.RoleType | RoleType [get, set] |
The RoleType from the configuration. More... | |
ServerManager | ServerManager [get, set] |
The ServerManager is used to persist the configuration. More... | |
uint | Id [get, set] |
The internal optimized handle for the Role. More... | |
string[] | Applications [get, set] |
Gets or sets the Applications More... | |
bool | ApplicationsExclude [get, set] |
Gets or sets the ApplicationsExclude More... | |
bool | CustomConfiguration [get, set] |
Gets or sets the CustomConfiguration More... | |
EndpointType[] | Endpoints [get, set] |
Gets or sets the Endpoints More... | |
bool | EndpointsExclude [get, set] |
Gets or sets the EndpointsExclude More... | |
IdentityMappingRuleType[] | Identities [get, set] |
Gets or sets the Identities More... | |
IRoleMethods | RoleMethods [get, set] |
Gets or sets the Role methods. More... | |
Properties inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
ModelHandle | ModelHandle [get, set] |
Gets or sets the metadata handle. More... | |
object | UserData [get, set] |
Gets or sets the user data. More... | |
UnifiedAutomation.UaServer.RoleModel.RoleModel | ( | ) |
Initializes a new instance of the RoleModel class.
UnifiedAutomation.UaServer.RoleModel.RoleModel | ( | RoleModel | template | ) |
Initializes a new instance of the RoleModel class.
template | The template. |
StatusCode UnifiedAutomation.UaServer.RoleModel.AddApplication | ( | RequestContext | context, |
RoleModel | model, | ||
string | ApplicationUri | ||
) |
This Method is used to add an application mapping rule to a Role.
Implements UnifiedAutomation.UaServer.IRoleMethods.
StatusCode UnifiedAutomation.UaServer.RoleModel.AddEndpoint | ( | RequestContext | context, |
RoleModel | model, | ||
EndpointType | Endpoint | ||
) |
This Method is used to add an endpoint mapping rule to a Role.
Implements UnifiedAutomation.UaServer.IRoleMethods.
StatusCode UnifiedAutomation.UaServer.RoleModel.AddIdentity | ( | RequestContext | context, |
RoleModel | model, | ||
IdentityMappingRuleType | Rule | ||
) |
This Method is used to add an identity mapping rule to a Role.
Implements UnifiedAutomation.UaServer.IRoleMethods.
|
virtual |
Dispatches the method.
context | The context. |
methodHandle | The method handle. |
inputArguments | The input arguments. |
inputArgumentResults | The input argument results. |
outputArguments | The output arguments. |
|
virtual |
Gets the method dispatcher.
context | The context. |
objectId | The object id. |
methodId | The method id. |
Implements UnifiedAutomation.UaServer.IMethodDispatcher.
|
protectedvirtual |
Return whether role is an admin role.
The default implementation returns 'true' for the WellKnownRoles ConfigureAdmin and SecurityAdmin.
This method is called in AddIdentity.
StatusCode UnifiedAutomation.UaServer.RoleModel.RemoveApplication | ( | RequestContext | context, |
RoleModel | model, | ||
string | ApplicationUri | ||
) |
This Method is used to remove an application mapping rule from a Role.
Implements UnifiedAutomation.UaServer.IRoleMethods.
StatusCode UnifiedAutomation.UaServer.RoleModel.RemoveEndpoint | ( | RequestContext | context, |
RoleModel | model, | ||
EndpointType | Endpoint | ||
) |
This Method is used to remove an endpoint mapping rule from a Role.
Implements UnifiedAutomation.UaServer.IRoleMethods.
StatusCode UnifiedAutomation.UaServer.RoleModel.RemoveIdentity | ( | RequestContext | context, |
RoleModel | model, | ||
IdentityMappingRuleType | Rule | ||
) |
This Method is used to remove an identity mapping rule from a Role.
Implements UnifiedAutomation.UaServer.IRoleMethods.
|
getset |
Gets or sets the Applications
|
getset |
Gets or sets the ApplicationsExclude
|
getset |
Gets or sets the CustomConfiguration
|
getset |
Gets or sets the Endpoints
|
getset |
Gets or sets the EndpointsExclude
|
getset |
The internal optimized handle for the Role.
|
getset |
Gets or sets the Identities
|
getset |
Gets or sets the Role methods.
The Role methods.
|
getset |
The RoleType from the configuration.
|
getset |
The ServerManager is used to persist the configuration.