C-DEngine 5.105

TheCommCore Members

The TheCommCore type exposes the following members.

Methods


  Name Description
Public method Static member GetCurrentUsers
Get a list of all UserIDs (UIDs) of users currently logged in
Public method Static member PublishCentral(TSM)
use the method to send a Message to ALL nodes in the Solution The ENG parameter of the pMessage will be used as the Topic for the publication
Public method Static member PublishCentral(TSM, Boolean)
Use this method to send a Message to ALL nodes in the Solution The ENG parameter of the pMessage will be used as the Topic for the publication.
Public method Static member PublishCentral(String, TSM)
Use this method to send a message to all nodes in the solution that have an active subscription for the pTopic
Public method Static member PublishCentral(String, String, TSM)
Use this method to send a message to all nodes in the solution that have an active subscription of the custom Scope for the pTopic
Public method Static member PublishToFirstNode
Use this method to send a message to the first connected node with the given ScopeID The ENG parameter in the TargetMessage will determine the FirstNode of this message will be addressed to. This messsage will NOT be relayed to other nodes
Public method Static member PublishToNode(Guid, String, TSM)
Use this method to send a message with a given ScrambledScopeID to a specific Node specified in the pTargetGuid
Public method Static member PublishToNode(Guid, TSM)
Use this method to send a message to a specific Node specified in the pTargetGuid The Message will be scoped using the current Node Scope
Public method Static member PublishToOriginator(TSM, TSM)
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
Public method Static member PublishToOriginator(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
Public method Static member PublishToService(TSM)
Publishes the TSM only to a service ignoring Client End Nodes
Public method Static member PublishToService(TSM, Boolean)
Publishes the TSM only to a service ignoring Client End Nodes
Public method Static member RegisterRelayEvents
Register callbacks for relay connection events
Public method Static member SetCloudNMIBlock
Disable or Enables the Cloud NMI - Can only be changed with a User Level 128 (Admin)
Public method Static member SubscribeCentral
Allows to subscribe to any arbitrary publication you are interested
Public method Static member UnregisterRelayEvents
Unregister Relay Connection Events

Fields


  Name Description
Public field Static member MyHttpService
Http Service Interface allowing to register "Interceptors" that allow to server http requests coming in to a node by a plugin