C-DEngine 5.105

TheCDEngines..::..RegisterPubSubTopic Method

Registers a new PubSub Topic with the current node. This creates a new "RelayOnly" topic in the C-DEngine Pub/Sub System

Namespace:  nsCDEngine.Engines
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static TheBaseEngine RegisterPubSubTopic(
	string pTopicName
)
Public Shared Function RegisterPubSubTopic ( _
	pTopicName As String _
) As TheBaseEngine
public:
static TheBaseEngine^ RegisterPubSubTopic(
	String^ pTopicName
)

Parameters

pTopicName
Type: String
Name of the Pub/Sub Topic

Return Value

Return TheBaseEngine of the new Topic