public class MamdaOrderBookBasicDelta
extends java.lang.Object
Constructor and Description |
---|
MamdaOrderBookBasicDelta() |
MamdaOrderBookBasicDelta(MamdaOrderBookBasicDelta source) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the delta.
|
void |
dump()
Dump the simple update to the output stream.
|
void |
dump(java.io.OutputStream output)
Dump the simple update to the output stream.
|
MamdaOrderBookEntry |
getEntry()
Get the MamdaOrderBookEntry object related to this basic delta.
|
char |
getEntryDeltaAction()
Get the delta action with respect to the entry.
|
MamdaOrderBook |
getOrderBook()
Get the MamdaOrderBook object to which this delta belongs.
|
char |
getPlDeltaAction()
Get the delta action with respect to the price level.
|
double |
getPlDeltaSize()
Get the difference in size for the price level.
|
MamdaOrderBookPriceLevel |
getPriceLevel()
Get the MamdaOrderBookPriceLevel object related to this basic delta.
|
void |
set(MamdaOrderBookEntry entry,
MamdaOrderBookPriceLevel level,
double plDeltaSize,
char plAction,
char entryAction)
Set the delta info.
|
void |
setPlDeltaAction(char action)
Set the delta action with respect to the price level.
|
void |
setPriceLevel(MamdaOrderBookPriceLevel level)
Set the MamdaOrderBookPriceLevel object to which this entry
belongs.
|
public MamdaOrderBookBasicDelta()
public MamdaOrderBookBasicDelta(MamdaOrderBookBasicDelta source)
public void clear()
public void set(MamdaOrderBookEntry entry, MamdaOrderBookPriceLevel level, double plDeltaSize, char plAction, char entryAction)
entry
- The entrylevel
- The levelplDeltaSize
- The delta sizeplAction
- The price level actionentryAction
- The entry actionpublic void setPriceLevel(MamdaOrderBookPriceLevel level)
level
- The price level to be associated with.public void setPlDeltaAction(char action)
action
- The price level action.public MamdaOrderBookPriceLevel getPriceLevel()
public MamdaOrderBookEntry getEntry()
public double getPlDeltaSize()
public char getPlDeltaAction()
public char getEntryDeltaAction()
public MamdaOrderBook getOrderBook()
public void dump(java.io.OutputStream output)
output
- The OutputStream
to write the update to.public void dump()
Copyright 2007 Wombat Financial Software, Inc.