C-DEngine 5.105

IBaseEngine..::..PublishToChannels Method

This function allows to send a TSM only to the attached nodes of a plugin-service In general we recommend using the TheCoreComm.PublishCentral() or TheCoreCommPublishToFirstNode() calls

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

Syntax


bool PublishToChannels(
	TSM pMessage,
	Action<TSM> pLocalCallback
)
Function PublishToChannels ( _
	pMessage As TSM, _
	pLocalCallback As Action(Of TSM) _
) As Boolean
bool^ PublishToChannels(
	TSM^ pMessage, 
	Action<TSM^>^ pLocalCallback
)

Parameters

pMessage
Type: nsCDEngine.BaseClasses..::..TSM
TSM to be sent to the nodes
pLocalCallback
Type: Action<(Of <(<'TSM>)>)>
A local callback that can return a result TSM. This TSM is coming ONLY from the local node not from remote nodes

Return Value