TsgcWSPServer_sgc › Properties › Guid
Unique identifier used to route messages to a specific server-side protocol instance.
property Guid: String read FGuid write FGuid;
—
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 so that several TsgcWSPServer_sgc components dropped on the same TsgcWebSocketServer keep their PubSub scopes isolated, and clients pass it as aGuid when they call Publish, Broadcast, RPC, Notify or WriteData.
ShowMessage(oProtocol.Guid);