Class FIXFieldListWithType

java.lang.Object
com.epam.fixengine.session.util.FIXFieldListWithType
All Implemented Interfaces:
Queueable

public class FIXFieldListWithType extends Object implements Queueable
Queueable element consists of FIXFieldList and message type.
See Also:
  • FIXFieldWithTypeFactory
  • Field Details

  • Constructor Details

    • FIXFieldListWithType

      public FIXFieldListWithType()
      Creates FIXFieldListWithType.
    • FIXFieldListWithType

      @Deprecated public FIXFieldListWithType(FIXFieldList content, String type)
      Deprecated.
      Creates FIXFieldListWithType with list of fields and type.
      Parameters:
      content - list of fields
      type - message type
    • FIXFieldListWithType

      @Deprecated public FIXFieldListWithType(FIXFieldList content, ChangesType changesType)
      Deprecated.
  • Method Details

    • cloneOnSend

      protected FIXFieldList cloneOnSend(FIXFieldList list)
    • init

      public void init(FIXFieldList content, String type)
    • init

      public void init(FIXFieldList content, ChangesType changesType)
    • getBytes

      public void getBytes(ByteBuffer buffer)
      Serialize instance to byte array.
      Specified by:
      getBytes in interface Queueable
      Parameters:
      buffer - byte buffer
    • fromBytes

      public void fromBytes(byte[] bytes, int offset, int length)
      DeSerialize instance from byte array.
      Specified by:
      fromBytes in interface Queueable
      Parameters:
      bytes - the array of bytes
      offset - the offset in buffer
      length - the number of array elements to be read
    • setChangesType

      public void setChangesType(ChangesType changesType)
    • setList

      public void setList(FIXFieldList list)
    • setType

      public void setType(String type)
    • getList

      public FIXFieldList getList()
      Gets list of fields.
    • getType

      public String getType()
      Gets message type.
    • getChangesType

      public ChangesType getChangesType()
      Gets change type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • releaseInstance

      public void releaseInstance()
    • isApplicationLevelMessage

      public boolean isApplicationLevelMessage()
      Check message type.
      Returns:
      true if message has application level type
    • prepareMsgForReject

      public FIXFieldList prepareMsgForReject()
    • getUid

      public long getUid()