com.bloomberglp.blpapi
Enum Message.Fragment

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

public static enum Message.Fragment
extends java.lang.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 Summary
END
          The last fragmented message
INTERMEDIATE
          Intermediate fragmented messages
NONE
          Message is not fragmented
START
          The first fragmented message
 
Method Summary
static Message.Fragment valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Message.Fragment[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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 Detail

values

public static Message.Fragment[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Message.Fragment c : Message.Fragment.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Message.Fragment valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2015 Bloomberg L.P.. All Rights Reserved.