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