C-DEngine 5.105

TheCommCore..::..PublishToOriginator Method (TSM, TSM, Boolean)

Use this method to publish the TargetMessage to the Originator in the SourceMessage This method can be used to reply only to the sender of an incoming message

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

Syntax


public static void PublishToOriginator(
	TSM sourceMessage,
	TSM TargetMessage,
	bool IncludeLocalNode
)
Public Shared Sub PublishToOriginator ( _
	sourceMessage As TSM, _
	TargetMessage As TSM, _
	IncludeLocalNode As Boolean _
)
public:
static void PublishToOriginator(
	TSM^ sourceMessage, 
	TSM^ TargetMessage, 
	bool^ IncludeLocalNode
)

Parameters

sourceMessage
Type: nsCDEngine.BaseClasses..::..TSM
Incoming request message containing the Originator
TargetMessage
Type: nsCDEngine.BaseClasses..::..TSM
Message to be sent to the Originator of the SourceMessage
IncludeLocalNode
Type: Boolean
If set to true, the current node will by called in its "ProcessServiceMessage" handler if the ENG is a live engine on the current node