Attributes | Name and Description |
---|---|
|
caplin.trading.trademodel.CaplinTradeService()
Constructs a new |
Attributes | Name and Description |
---|---|
|
void
addListener( oTradeFactoryListener, fFilter)
|
|
void
addTradeRestoredListener( oTradeRestoredListener)
|
|
void
getTrades( fFilter)
|
|
void
registerTradeFactory( mFieldMap, oTradeFactory)
|
|
void
removeListener( oTradeFactoryListener)
|
|
void
removeTrade( sRequestID)
|
|
void
removeTradeRestoredListener( oTradeRestoredListener)
|
|
void
restoreExistingTrade( oTrade, mFieldMap)
|
|
void
restoreNewTrade( mFieldMap)
|
►
caplin.trading.trademodel.CaplinTradeService()
Constructs a new TradeService
.
Behaves as both a factory and repository for trades.
It delegates creation of trades to individual factories that are
registered with this service.
►
void
addListener( oTradeFactoryListener, fFilter)
oTradeFactoryListener | ||
fFilter |
►
void
addTradeRestoredListener( oTradeRestoredListener)
oTradeRestoredListener |
►
void
registerTradeFactory( mFieldMap, oTradeFactory)
mFieldMap | ||
oTradeFactory |
►
void
removeListener( oTradeFactoryListener)
oTradeFactoryListener |
►
void
removeTrade( sRequestID)
sRequestID |
►
void
removeTradeRestoredListener( oTradeRestoredListener)
oTradeRestoredListener |
►
void
restoreExistingTrade( oTrade, mFieldMap)
oTrade | ||
mFieldMap |
►
void
restoreNewTrade( mFieldMap)
mFieldMap |