TsgcWSPClient_Presence › Events
Events you can handle, grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| OnConnect | Fires when the underlying WebSocket transport has connected to the server. |
| OnDisconnect | Fires after the WebSocket transport has been disconnected. |
| OnError | Fires when the transport reports a protocol-level error string. |
| OnException | Fires when an unhandled exception is raised while processing a Presence message. |
| OnSession | Fires when the server returns the session id assigned to this member. |
| OnRawMessage | Fires for every incoming frame before Presence parsing; set Handled to skip default handling. |
| Name | Description |
|---|---|
| OnNewMember | Fires when a new member joins the server. |
| OnRemoveMember | Fires when an existing member disconnects from the server. |
| OnNewChannelMember | Fires when a member subscribes to a channel. |
| OnRemoveChannelMember | Fires when a member unsubscribes from a channel. |
| OnGetMembers | Fires with the list of members returned by a GetMembers request. |
| OnErrorMemberChannel | Fires when a subscription or member-related operation fails on the server. |
| Name | Description |
|---|---|
| OnPublishMsg | Fires when a Publish message is received on a channel. |
| OnErrorPublishMsg | Fires when the server rejects a publication with an error. |
| Name | Description |
|---|---|
| OnChannelInvitation | Fires when this member is invited to a channel; set Accept to join. |
| OnChannelInvitationResponse | Fires on the inviter with the response returned by the invited member. |
| Name | Description |
|---|---|
| OnChannelInvitation | Fires when this member is invited to a channel; set Accept to join. |
| OnChannelInvitationResponse | Fires on the inviter with the response returned by the invited member. |
| OnConnect | Fires when the underlying WebSocket transport has connected to the server. |
| OnDisconnect | Fires after the WebSocket transport has been disconnected. |
| OnError | Fires when the transport reports a protocol-level error string. |
| OnErrorMemberChannel | Fires when a subscription or member-related operation fails on the server. |
| OnErrorPublishMsg | Fires when the server rejects a publication with an error. |
| OnException | Fires when an unhandled exception is raised while processing a Presence message. |
| OnGetMembers | Fires with the list of members returned by a GetMembers request. |
| OnNewChannelMember | Fires when a member subscribes to a channel. |
| OnNewMember | Fires when a new member joins the server. |
| OnPublishMsg | Fires when a Publish message is received on a channel. |
| OnRawMessage | Fires for every incoming frame before Presence parsing; set Handled to skip default handling. |
| OnRemoveChannelMember | Fires when a member unsubscribes from a channel. |
| OnRemoveMember | Fires when an existing member disconnects from the server. |
| OnSession | Fires when the server returns the session id assigned to this member. |