public interface BlockTradeListenerFactory
A BlockTradeListenerFactory instance is responsible for providing
a BlockTradeListener
whenever a Block Trade is initiated by the client.
Example Usage:
public class MyBlockTradeListenerFactory implements BlockTradeListenerFactory { Override public BlockTradeListener createBlockTradeListener(BlockTrade trade) throws TradeException { return new MyBlockTradeListener(); } }
Modifier and Type | Method and Description |
---|---|
BlockTradeListener |
createBlockTradeListener(BlockTrade trade)
Returns an instance of BlockTradeListener that will be notified
of incoming client side events regarding block trades.
|
BlockTradeListener createBlockTradeListener(BlockTrade trade)
trade
- The block trade for which the listener will receive event
notifications for.Copyright © 2020 Caplin Systems.