Click or drag to resize

ServerCommand Enumeration

.NET STTP API
Enumeration of the possible server commands received by DataPublisher and sent by DataSubscriber during an STTP session.

Namespace: sttp.transport
Assembly: sttp.net (in sttp.net.dll) Version: 1.0.0
Syntax
public enum ServerCommand
Request Example
Members
Member nameValueDescription
Connect0 Command code for handling connect operations.
MetaDataRefresh1 Command code for requesting an updated set of metadata.
Subscribe2 Command code for requesting a subscription of streaming data from server based on connection string that follows.
Unsubscribe3 Command code for requesting that server stop sending streaming data to the client and cancel the current subscription.
RotateCipherKeys4 Command code for manually requesting that server send a new set of cipher keys for data packet encryption (UDP only).
UpdateProcessingInterval5 Command code for manually requesting that server to update the processing interval with the following specified value.
DefineOperationalModes6 Command code for establishing operational modes.
ConfirmNotification7 Command code for receipt of a notification.
ConfirmBufferBlock8 Command code for receipt of a buffer block measurement.
ConfirmUpdateBaseTimes9 Command code for receipt of a base time update.
ConfirmSignalIndexCache10 Command code for confirming the receipt of a signal index cache.
GetPrimaryMetadataSchema11 Command code for requesting the primary metadata schema.
GetSignalSelectionSchema12 Command code for requesting the signal selection schema.
UserCommand00208 Command code for handling user-defined commands.
UserCommand01209 Command code for handling user-defined commands.
UserCommand02210 Command code for handling user-defined commands.
UserCommand03211 Command code for handling user-defined commands.
UserCommand04212 Command code for handling user-defined commands.
UserCommand05213 Command code for handling user-defined commands.
UserCommand06214 Command code for handling user-defined commands.
UserCommand07215 Command code for handling user-defined commands.
UserCommand08216 Command code for handling user-defined commands.
UserCommand09217 Command code for handling user-defined commands.
UserCommand10218 Command code for handling user-defined commands.
UserCommand11219 Command code for handling user-defined commands.
UserCommand12220 Command code for handling user-defined commands.
UserCommand13221 Command code for handling user-defined commands.
UserCommand14222 Command code for handling user-defined commands.
UserCommand15223 Command code for handling user-defined commands.
Remarks
Solicited server commands will receive a Succeeded or Failed response code along with an associated success or failure message. Message type for successful responses will be based on server command - for example, server response for a successful MetaDataRefresh command will return a serialized [!:DataSet] of the available server metadata. Message type for failed responses will always be a string of text representing the error message.
See Also