Enum Class Message.Fragment

java.lang.Object
java.lang.Enum<Message.Fragment>
com.bloomberglp.blpapi.Message.Fragment
All Implemented Interfaces:
Serializable, Comparable<Message.Fragment>, Constable
Enclosing class:
Message

public static enum Message.Fragment extends Enum<Message.Fragment>
A message could be split into more than one fragments to reduce each message size. This enum is used to indicate whether a message is a fragmented message and the position in the fragmented messages.
  • Enum Constant Details

    • NONE

      public static final Message.Fragment NONE
      Message is not fragmented
    • START

      public static final Message.Fragment START
      The first fragmented message
    • INTERMEDIATE

      public static final Message.Fragment INTERMEDIATE
      Intermediate fragmented messages
    • END

      public static final Message.Fragment END
      The last fragmented message
  • Method Details

    • values

      public static Message.Fragment[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Message.Fragment valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null