This Method is used to add a new ReaderGroup Object to an instance of the PubSubConnection.
The Client shall be authorized to modify the configuration for the PubSub functionality when invoking this Method on the Server.
Signature
AddReaderGroup (
[in]ReaderGroupDataType Configuration,
[out]NodeId GroupId
);
Argument |
Description |
Configuration |
Configuration parameters for the ReaderGroup. The parameters and the ReaderGroupDataType are defined in 6.2.8. |
GroupId |
The NodeId of the new ReaderGroup Object. |
Method Result Codes
ResultCode |
Description |
Bad_InvalidArgument |
The Server is not able to apply the GroupName. The name may be too long or may contain invalid characters. |
Bad_BrowseNameDuplicated |
An Object with the name already exists in the connection. |
Bad_ResourceUnavailable |
The Server does not have enough resources to add the group. |
Bad_UserAccessDenied |
The Session user does not have rights to create the group. |
Table 241 specifies the AddressSpace representation for the AddReaderGroup Method.
Table 241 – AddReaderGroup Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
AddReaderGroup |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
HasProperty |
Variable |
InputArguments |
Argument[] |
PropertyType |
Mandatory |
HasProperty |
Variable |
OutputArguments |
Argument[] |
PropertyType |
Mandatory |
ConformanceUnits |
|||||
PubSub Model Base |