public static enum Message.Recap extends Enum<Message.Recap>
Event.EventType.SUBSCRIPTION_DATA)
are recaps, which summarize the overall state of the data associated
with a subscription. A solicited recap message is recap intended for a
particular consumer who has recently subscribed or re-subscribed to a
topic on a service. Services may also emit unsolicited recaps, intended
for all consumers, at any time.
This enum is used to indicate the recap type for a particular
subscription data message.| Enum Constant and Description |
|---|
NONE
Normal data tick; not a recap
|
SOLICITED
Generated on request by subscriber
|
UNSOLICITED
Generated at discretion of the service
|
| Modifier and Type | Method and Description |
|---|---|
static Message.Recap |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Recap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Recap NONE
public static final Message.Recap SOLICITED
public static final Message.Recap UNSOLICITED
public static Message.Recap[] values()
for (Message.Recap c : Message.Recap.values()) System.out.println(c);
public static Message.Recap valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 Bloomberg L.P.. All rights reserved.