TsgcWSPServer_WAMPProperties › Guid

Guid Property

Unique identifier that distinguishes this WAMP protocol handler inside the hosting server.

Syntax

property Guid: String read FGuid write FGuid;

Default Value

Empty string (auto-assigned GUID generated on demand by the framework)

Remarks

Inherited from the subprotocol framework: identifies this protocol handler inside the attached server so that routed messages, call registrations and subscription records can be correlated with the correct component instance. Leave it empty and the library generates an internal GUID automatically; assign a stable value only when your application needs to correlate logs, persisted state or cluster membership across restarts. The Guid has no effect on the WAMP wire protocol — it is used solely for in-process routing and diagnostics.

Example


WAMP := TsgcWSPServer_WAMP.Create(nil);
WAMP.Guid := '{B1E3D3C0-1C6F-4B53-9A20-7F8B2C4E0A11}';
WAMP.Server := WSServer;

Back to Properties