com.epam.fix.message
Class MessageStorage

java.lang.Object
  extended by com.epam.fix.message.MessageStorage
Direct Known Subclasses:
ByteArrayMessageStorage, ByteBufferStorage

public abstract class MessageStorage
extends Object

Created by IntelliJ IDEA. User: Alexander_Sereda Date: 26.10.12 Time: 13:35 To change this template use File | Settings | File Templates.


Constructor Summary
MessageStorage()
           
 
Method Summary
abstract  void add(int tagIndex, byte[] value, int offset, int length)
           
abstract  void clearAll()
           
 boolean getAsBoolean(int index, FieldIndexData fieldsIndex)
           
 byte getAsByte(int index, FieldIndexData fieldsIndex, int offset)
           
 int getAsByteArray(int index, FieldIndexData fieldsIndex, byte[] dest, int destOffset)
           
 double getAsDouble(int index, FieldIndexData fieldsIndex)
           
 long getAsLong(int index, FieldIndexData fieldsIndex)
           
 String getAsString(int index, FieldIndexData fieldsIndex)
           
 void getAsStringBuffer(int index, FieldIndexData fieldsIndex, StringBuffer dest)
           
abstract  byte[] getByteArray(int index)
           
abstract  boolean isEmpty()
           
abstract  void setValue(int tagIndex, CharSequence value, int length)
           
abstract  void setValue(int tagIndex, CharSequence value, int offset, int length)
           
abstract  int setValue(int tagIndex, double value, int precision, int length)
           
abstract  void setValue(int index, FIXDateFormatter fixDateFormatter, Calendar value, int length)
           
abstract  void setValue(int tagIndex, long value, int length)
           
 void updateValue(int index, FieldIndexData fieldsIndex, byte[] value, int offset, int length)
           
 void updateValue(int index, FieldIndexData fieldsIndex, double value, int precision)
           
 void updateValue(int index, FieldIndexData fieldsIndex, FIXDateFormatter fixDateFormatter, Calendar value)
           
 void updateValue(int index, FieldIndexData fieldsIndex, long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageStorage

public MessageStorage()
Method Detail

clearAll

public abstract void clearAll()

add

public abstract void add(int tagIndex,
                         byte[] value,
                         int offset,
                         int length)

setValue

public abstract void setValue(int tagIndex,
                              CharSequence value,
                              int offset,
                              int length)

setValue

public abstract void setValue(int tagIndex,
                              long value,
                              int length)

setValue

public abstract int setValue(int tagIndex,
                             double value,
                             int precision,
                             int length)

setValue

public abstract void setValue(int tagIndex,
                              CharSequence value,
                              int length)

setValue

public abstract void setValue(int index,
                              FIXDateFormatter fixDateFormatter,
                              Calendar value,
                              int length)

getByteArray

public abstract byte[] getByteArray(int index)

isEmpty

public abstract boolean isEmpty()

getAsByteArray

public int getAsByteArray(int index,
                          FieldIndexData fieldsIndex,
                          byte[] dest,
                          int destOffset)

getAsByte

public byte getAsByte(int index,
                      FieldIndexData fieldsIndex,
                      int offset)

getAsLong

public long getAsLong(int index,
                      FieldIndexData fieldsIndex)

getAsDouble

public double getAsDouble(int index,
                          FieldIndexData fieldsIndex)

getAsBoolean

public boolean getAsBoolean(int index,
                            FieldIndexData fieldsIndex)

getAsString

public String getAsString(int index,
                          FieldIndexData fieldsIndex)

getAsStringBuffer

public void getAsStringBuffer(int index,
                              FieldIndexData fieldsIndex,
                              StringBuffer dest)

updateValue

public void updateValue(int index,
                        FieldIndexData fieldsIndex,
                        byte[] value,
                        int offset,
                        int length)

updateValue

public void updateValue(int index,
                        FieldIndexData fieldsIndex,
                        long value)

updateValue

public void updateValue(int index,
                        FieldIndexData fieldsIndex,
                        double value,
                        int precision)

updateValue

public void updateValue(int index,
                        FieldIndexData fieldsIndex,
                        FIXDateFormatter fixDateFormatter,
                        Calendar value)


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.