com.activequant.transport.memory
Class InMemoryTransportFactory

java.lang.Object
  extended by com.activequant.transport.memory.InMemoryTransportFactory
All Implemented Interfaces:
ITransportFactory

public class InMemoryTransportFactory
extends Object
implements ITransportFactory


Constructor Summary
InMemoryTransportFactory()
           
 
Method Summary
 IPublisher getPublisher(ETransportType transType, Instrument instrument)
           
 IPublisher getPublisher(ETransportType transType, MarketDataInstrument instrument)
           
 IPublisher getPublisher(ETransportType transType, String id)
           
 IPublisher getPublisher(ETransportType transType, TradeableInstrument instrument)
           
 IPublisher getPublisher(String channel)
           
 IReceiver getReceiver(ETransportType transType, Instrument instrument)
           
 IReceiver getReceiver(ETransportType transType, MarketDataInstrument instrument)
           
 IReceiver getReceiver(ETransportType transType, String id)
           
 IReceiver getReceiver(ETransportType transType, TradeableInstrument instrument)
           
 IReceiver getReceiver(String channel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryTransportFactory

public InMemoryTransportFactory()
Method Detail

getPublisher

public IPublisher getPublisher(ETransportType transType,
                               String id)
                        throws TransportException
Specified by:
getPublisher in interface ITransportFactory
Throws:
TransportException

getReceiver

public IReceiver getReceiver(ETransportType transType,
                             String id)
                      throws TransportException
Specified by:
getReceiver in interface ITransportFactory
Throws:
TransportException

getPublisher

public IPublisher getPublisher(ETransportType transType,
                               Instrument instrument)
                        throws TransportException
Specified by:
getPublisher in interface ITransportFactory
Throws:
TransportException

getReceiver

public IReceiver getReceiver(ETransportType transType,
                             Instrument instrument)
                      throws TransportException
Specified by:
getReceiver in interface ITransportFactory
Throws:
TransportException

getPublisher

public IPublisher getPublisher(ETransportType transType,
                               MarketDataInstrument instrument)
                        throws TransportException
Specified by:
getPublisher in interface ITransportFactory
Throws:
TransportException

getReceiver

public IReceiver getReceiver(ETransportType transType,
                             MarketDataInstrument instrument)
                      throws TransportException
Specified by:
getReceiver in interface ITransportFactory
Throws:
TransportException

getPublisher

public IPublisher getPublisher(ETransportType transType,
                               TradeableInstrument instrument)
                        throws TransportException
Specified by:
getPublisher in interface ITransportFactory
Throws:
TransportException

getReceiver

public IReceiver getReceiver(ETransportType transType,
                             TradeableInstrument instrument)
                      throws TransportException
Specified by:
getReceiver in interface ITransportFactory
Throws:
TransportException

getPublisher

public IPublisher getPublisher(String channel)
                        throws TransportException
Specified by:
getPublisher in interface ITransportFactory
Throws:
TransportException

getReceiver

public IReceiver getReceiver(String channel)
                      throws TransportException
Specified by:
getReceiver in interface ITransportFactory
Throws:
TransportException


Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.