TsgcWSPServer_Dataset › Methods

TsgcWSPServer_Dataset Methods

Public methods grouped by purpose, followed by the full alphabetical list.

Sync

NameDescription
SynchronizeSends every row of the server dataset to the given client connection.
MetaDataSends the current dataset field structure to the given client connection.
BroadcastRecordBroadcasts the current record of the server dataset to every connected client.

PubSub

NameDescription
PublishPublishes a message to every client subscribed to a channel.
BroadcastBroadcasts a text or stream payload to all connected clients, optionally filtered by channel.
ClearQueueDiscards queued retained publications pending on a channel.

RPC replies

NameDescription
RPCResultReplies to a pending RPC request with a successful result.
RPCErrorReplies to a pending RPC request with a JSON-RPC error object.

Advanced

NameDescription
WriteDataSends a message to the connection identified by its Guid using the sgc envelope.

All Methods (alphabetical)

NameDescription
BroadcastBroadcasts a text or stream payload to all connected clients, optionally filtered by channel.
BroadcastRecordBroadcasts the current record of the server dataset to every connected client.
ClearQueueDiscards queued retained publications pending on a channel.
MetaDataSends the current dataset field structure to the given client connection.
PublishPublishes a message to every client subscribed to a channel.
RPCErrorReplies to a pending RPC request with a JSON-RPC error object.
RPCResultReplies to a pending RPC request with a successful result.
SynchronizeSends every row of the server dataset to the given client connection.
WriteDataSends a message to the connection identified by its Guid using the sgc envelope.