com.activequant.tools.streaming
Class AbstractEventChainLink

java.lang.Object
  extended by com.activequant.tools.streaming.AbstractEventChainLink
All Implemented Interfaces:
IEventSink, IEventSource

public abstract class AbstractEventChainLink
extends Object
implements IEventSink, IEventSource


Constructor Summary
AbstractEventChainLink()
           
 
Method Summary
 List<IEventSink> getSubscriberList(ETransportType type)
           
 void process(StreamEvent se)
           
abstract  void start()
           
 void subscribe(IEventSink sink, ETransportType eventType)
           
 void unsubscribe(IEventSink sink, ETransportType eventType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEventChainLink

public AbstractEventChainLink()
Method Detail

getSubscriberList

public List<IEventSink> getSubscriberList(ETransportType type)

subscribe

public void subscribe(IEventSink sink,
                      ETransportType eventType)
Specified by:
subscribe in interface IEventSource

unsubscribe

public void unsubscribe(IEventSink sink,
                        ETransportType eventType)
Specified by:
unsubscribe in interface IEventSource

process

public void process(StreamEvent se)
Specified by:
process in interface IEventSink

start

public abstract void start()
Specified by:
start in interface IEventSource


Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.