Skip to main content
Version: 8.5.11.3

Schema: MLinkSubscribe (ID: 3386)

METADATA

AttributeValue
Topic3325-mlink
MLink TokenMLinkWs

Note: The symbol = next to a field number indicates that it is a primary key.

BODY

#FieldTypeDefault ValueComment
100sessionIDshort(optional) actions below apply only to the sessionID virtual channel; should be zero for non-multiplexed web-socket connections.
103subscribeIDlong(optional) subscribeD will be reflected back in the corresponding MLinkSubscribeAck message; nothing is assumed about structure of this number
106activeLatencyint(optional) number of milliseconds between active send attempts (1 = minimum delay, 0 = wait for SignalReady) [default = 0]
109compressionenum : MLinkCompression(optional) FieldChangesOnly will supress fields in messages that have not changed since the previous send (resets automatically after every subscription)
112doResetenum : YesNoif Yes all current subscriptions will be removed prior to applying the actions below

REPEATING FIELDS

View

#FieldTypeDefault ValueComment
118msgNamestring(32)a SpiderRock message name (topic channel) (can be string name or protobuf message number)
121viewstring(128)list (subset) of field names to return with this message type (eg. bidprice,askprice,bidsize,asksize)

Unsubscribe

#FieldTypeDefault ValueComment
127msgNamestring(32)(required) a SpiderRock message name (topic channel) (can be string name or protobuf message number)
130msgPKeystring(128)# an existing message.pkey; can be in either flat string or JSON format; if missing/empty all active msgName subscriptions will be removed

Subscribe

#FieldTypeDefault ValueComment
136msgNamestring(32)(required) a SpiderRock message name (topic channel) (can be string name or protobuf message number)
139msgPKeystring(128)(required) must be an existing message.pkey; can be in either flat string or JSON format
140highwaterTslong(optional) records must have a header.sentTs that is later than this value (nanoseconds after the UNIX epoch) [-1 means start from current server side highwaterTs]