9.1.3.4 AddConnection Method (Deprecated)

This deprecated Method is used to add a new PubSubConnection Object to the PublishSubscribe Object.

The Client should be authorized to modify the configuration for the PubSub functionality when invoking this Method on the Server.

Signature

	AddConnection (
		[in]	PubSubConnectionDataType	Configuration,
		[out]	NodeId				ConnectionId
		);
	
Argument Description
ConfigurationConfiguration parameters for the PubSubConnection. The parameters and the PubSubConnectionDataType are defined in 6.2.7.
ConnectionIdThe NodeId of the new connection.

Method Result Codes

ResultCode Description
Bad_InvalidArgumentThe Server is not able to apply the name. The name may be too long or may contain invalid characters.
Bad_BrowseNameDuplicatedAn Object with the name already exists.
Bad_ResourceUnavailableThe Server has not enough resources to add the PubSubConnection Object.
Bad_UserAccessDeniedThe Session user is not allowed to create a PubSubConnection Object.

Table 235 specifies the AddressSpace representation for the AddConnection Method.

Table 235 – AddConnection Method AddressSpace definition
Attribute Value
BrowseNameAddConnection
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[] PropertyTypeMandatory
HasPropertyVariableOutputArgumentsArgument[] PropertyTypeMandatory
ConformanceUnits
PubSub Model Base