C-DEngine 5.105

TheThing..::..HandleByThing Method

Hands a given TSM to a given Thing

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

Syntax


public static void HandleByThing(
	TheThing tThing,
	string tTopic,
	TSM tSendMessage,
	Action<TSM> pLocalCallback
)
Public Shared Sub HandleByThing ( _
	tThing As TheThing, _
	tTopic As String, _
	tSendMessage As TSM, _
	pLocalCallback As Action(Of TSM) _
)
public:
static void HandleByThing(
	TheThing^ tThing, 
	String^ tTopic, 
	TSM^ tSendMessage, 
	Action<TSM^>^ pLocalCallback
)

Parameters

tThing
Type: nsCDEngine.Engines.ThingService..::..TheThing
TheThing to handle the message
tTopic
Type: String
Topic for the Message
tSendMessage
Type: nsCDEngine.BaseClasses..::..TSM
TSM to be handled by TheThing
pLocalCallback
Type: Action<(Of <(<'TSM>)>)>
A local callback that TheThing can call at the end of the message handling