net.sourceforge.fixagora.basis.server.control.component
Class AbstractComponentHandler

java.lang.Object
  extended by net.sourceforge.fixagora.basis.server.control.component.AbstractComponentHandler
Direct Known Subclasses:
BuySideBookComponentHandler, ExcelTradeCaptureComponentHandler, FIXAcceptorComponentHandler, FIXInitiatorComponentHandler, SAPTradeCaptureComponentHandler, SellSideBookComponentHandler, SpreadSheetComponentHandler, TradeCaptureComponentHandler

public abstract class AbstractComponentHandler
extends java.lang.Object

The Class AbstractComponentHandler.


Constructor Summary
AbstractComponentHandler()
           
 
Method Summary
 void addFIXMessage(MessageEntry message)
          Adds the fix message.
 void addFIXMessages(java.util.List<MessageEntry> messages)
          Adds the fix messages.
 void addInputComponent(AbstractComponentHandler abstractComponentHandler)
          Adds the input component.
 void addOutputComponent(AbstractComponentHandler abstractComponentHandler)
          Adds the output component.
 void close()
          Close.
abstract  AbstractBusinessComponent getAbstractBusinessComponent()
          Gets the abstract business component.
abstract  int getStartLevel()
          Gets the start level.
 java.lang.String getTargetCompIDIfOnline(Counterparty counterparty)
          Gets the target comp id if online.
abstract  void setAbstractBusinessComponent(AbstractBusinessComponent abstractBusinessComponent)
          Sets the abstract business component.
 void setBasisPersistenceHandler(BasisPersistenceHandler basisPersistenceHandler)
          Sets the basis persistence handler.
 void setBusinessComponentHandler(BusinessComponentHandler businessComponentHandler)
          Sets the business component handler.
 void setDataDictionaries(java.util.List<DataDictionary> dataDictionaries)
          Sets the data dictionaries.
 void setSecurityDictionary(SecurityDictionary securityDictionary)
          Sets the security dictionary.
 void setSpreadSheetHandler(SpreadSheetHandler spreadSheetHandler)
          Sets the spread sheet handler.
abstract  void start(org.jboss.netty.channel.Channel channel)
          Start.
 void startHandler()
          Start handler.
abstract  void stop(org.jboss.netty.channel.Channel channel)
          Stop.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractComponentHandler

public AbstractComponentHandler()
Method Detail

setAbstractBusinessComponent

public abstract void setAbstractBusinessComponent(AbstractBusinessComponent abstractBusinessComponent)
Sets the abstract business component.

Parameters:
abstractBusinessComponent - the new abstract business component

getAbstractBusinessComponent

public abstract AbstractBusinessComponent getAbstractBusinessComponent()
Gets the abstract business component.

Returns:
the abstract business component

getStartLevel

public abstract int getStartLevel()
Gets the start level.

Returns:
the start level

startHandler

public void startHandler()
Start handler.


setSecurityDictionary

public void setSecurityDictionary(SecurityDictionary securityDictionary)
Sets the security dictionary.

Parameters:
securityDictionary - the new security dictionary

addFIXMessages

public void addFIXMessages(java.util.List<MessageEntry> messages)
Adds the fix messages.

Parameters:
messages - the messages

addFIXMessage

public void addFIXMessage(MessageEntry message)
Adds the fix message.

Parameters:
message - the message

close

public void close()
Close.


addInputComponent

public void addInputComponent(AbstractComponentHandler abstractComponentHandler)
Adds the input component.

Parameters:
abstractComponentHandler - the abstract component handler

addOutputComponent

public void addOutputComponent(AbstractComponentHandler abstractComponentHandler)
Adds the output component.

Parameters:
abstractComponentHandler - the abstract component handler

setBusinessComponentHandler

public void setBusinessComponentHandler(BusinessComponentHandler businessComponentHandler)
Sets the business component handler.

Parameters:
businessComponentHandler - the new business component handler

setBasisPersistenceHandler

public void setBasisPersistenceHandler(BasisPersistenceHandler basisPersistenceHandler)
Sets the basis persistence handler.

Parameters:
basisPersistenceHandler - the new basis persistence handler

setDataDictionaries

public void setDataDictionaries(java.util.List<DataDictionary> dataDictionaries)
Sets the data dictionaries.

Parameters:
dataDictionaries - the new data dictionaries

setSpreadSheetHandler

public void setSpreadSheetHandler(SpreadSheetHandler spreadSheetHandler)
Sets the spread sheet handler.

Parameters:
spreadSheetHandler - the new spread sheet handler

start

public abstract void start(org.jboss.netty.channel.Channel channel)
Start.

Parameters:
channel - the channel

stop

public abstract void stop(org.jboss.netty.channel.Channel channel)
Stop.

Parameters:
channel - the channel

getTargetCompIDIfOnline

public java.lang.String getTargetCompIDIfOnline(Counterparty counterparty)
Gets the target comp id if online.

Parameters:
counterparty - the counterparty
Returns:
the target comp id if online