TsgcWSPClient_WAMP › Events
Events you can handle, grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| OnConnect | Fires when the underlying WebSocket (or raw TCP) transport has successfully connected to the server. |
| OnDisconnect | Fires when the underlying transport closes, ending the current WAMP session. |
| OnWelcome | Fires when the server's WELCOME frame has been received, signalling that the WAMP session is fully open and ready for RPC and PubSub calls. |
| OnError | Fires when the component detects a transport or protocol-level error condition. |
| OnException | Fires when a Delphi exception is raised inside one of the component's worker threads or event handlers. |
| Name | Description |
|---|---|
| OnMessage | Fires for incoming text frames that the WAMP decoder did not route to a higher-level RPC or PubSub handler. |
| OnBinary | Fires when the server sends a binary WebSocket frame that is not part of the standard WAMP v1 text protocol. |
| OnFragmented | Fires for each fragment of a multi-frame WebSocket message before reassembly. |
| OnRawMessage | Fires before WAMP decoding, giving the application first look at every incoming text frame with an option to suppress further processing. |
| Name | Description |
|---|---|
| OnCallResult | Fires once per successful RPC to deliver the final result of a Call invocation. |
| OnCallProgressResult | Fires for each interim chunk of a streaming RPC before the final result arrives via OnCallResult. |
| OnCallError | Fires when a remote procedure invoked by Call fails on the server or is rejected. |
| Name | Description |
|---|---|
| OnEvent | Fires when a published event arrives on a topic this client has previously subscribed to. |
| Name | Description |
|---|---|
| OnBinary | Fires when the server sends a binary WebSocket frame that is not part of the standard WAMP v1 text protocol. |
| OnCallError | Fires when a remote procedure invoked by Call fails on the server or is rejected. |
| OnCallProgressResult | Fires for each interim chunk of a streaming RPC before the final result arrives via OnCallResult. |
| OnCallResult | Fires once per successful RPC to deliver the final result of a Call invocation. |
| OnConnect | Fires when the underlying WebSocket (or raw TCP) transport has successfully connected to the server. |
| OnDisconnect | Fires when the underlying transport closes, ending the current WAMP session. |
| OnError | Fires when the component detects a transport or protocol-level error condition. |
| OnEvent | Fires when a published event arrives on a topic this client has previously subscribed to. |
| OnException | Fires when a Delphi exception is raised inside one of the component's worker threads or event handlers. |
| OnFragmented | Fires for each fragment of a multi-frame WebSocket message before reassembly. |
| OnMessage | Fires for incoming text frames that the WAMP decoder did not route to a higher-level RPC or PubSub handler. |
| OnRawMessage | Fires before WAMP decoding, giving the application first look at every incoming text frame with an option to suppress further processing. |
| OnWelcome | Fires when the server's WELCOME frame has been received, signalling that the WAMP session is fully open and ready for RPC and PubSub calls. |