TsgcWSPServer_DatasetProperties › Guid

Guid Property

Unique identifier used to route messages to a specific server-side protocol instance.

Syntax

property Guid: String read FGuid write FGuid;

Default Value

Remarks

Every subprotocol instance is identified by a Guid so peers can target messages at a specific protocol component. The Guid is prefixed internally to channel names and to the dataset update channel so that several TsgcWSPServer_Dataset components sharing the same TsgcWebSocketServer keep their sync scopes isolated, and clients pass it when they call Publish, RPC or WriteData.

Example

ShowMessage(oProtocol.Guid);

Back to Properties