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

java.lang.Object
  extended by net.sourceforge.fixagora.basis.server.control.component.AbstractComponentHandler
      extended by net.sourceforge.fixagora.basis.server.control.component.FIXInitiatorComponentHandler
All Implemented Interfaces:
quickfix.Application

public class FIXInitiatorComponentHandler
extends AbstractComponentHandler
implements quickfix.Application

The Class FIXInitiatorComponentHandler.


Constructor Summary
FIXInitiatorComponentHandler()
           
 
Method Summary
 void fromAdmin(quickfix.Message arg0, quickfix.SessionID arg1)
           
 void fromApp(quickfix.Message message, quickfix.SessionID arg1)
           
 AbstractBusinessComponent getAbstractBusinessComponent()
          Gets the abstract business component.
 int getStartLevel()
          Gets the start level.
 java.lang.String getTargetCompIDIfOnline(Counterparty counterparty)
          Gets the target comp id if online.
 void onCreate(quickfix.SessionID arg0)
           
 void onLogon(quickfix.SessionID channelID)
           
 void onLogout(quickfix.SessionID channelID)
           
 void processFIXMessage(java.util.List<MessageEntry> messages)
          Process fix message.
 void setAbstractBusinessComponent(AbstractBusinessComponent abstractBusinessComponent)
          Sets the abstract business component.
 void start(org.jboss.netty.channel.Channel channel)
          Start.
 void stop(org.jboss.netty.channel.Channel channel)
          Stop.
 void toAdmin(quickfix.Message arg0, quickfix.SessionID arg1)
           
 void toApp(quickfix.Message arg0, quickfix.SessionID arg1)
           
 
Methods inherited from class net.sourceforge.fixagora.basis.server.control.component.AbstractComponentHandler
addFIXMessage, addFIXMessages, addInputComponent, addOutputComponent, close, setBasisPersistenceHandler, setBusinessComponentHandler, setDataDictionaries, setSecurityDictionary, setSpreadSheetHandler, startHandler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FIXInitiatorComponentHandler

public FIXInitiatorComponentHandler()
Method Detail

setAbstractBusinessComponent

public void setAbstractBusinessComponent(AbstractBusinessComponent abstractBusinessComponent)
Description copied from class: AbstractComponentHandler
Sets the abstract business component.

Specified by:
setAbstractBusinessComponent in class AbstractComponentHandler
Parameters:
abstractBusinessComponent - the new abstract business component

getStartLevel

public int getStartLevel()
Description copied from class: AbstractComponentHandler
Gets the start level.

Specified by:
getStartLevel in class AbstractComponentHandler
Returns:
the start level

start

public void start(org.jboss.netty.channel.Channel channel)
Description copied from class: AbstractComponentHandler
Start.

Specified by:
start in class AbstractComponentHandler
Parameters:
channel - the channel

stop

public void stop(org.jboss.netty.channel.Channel channel)
Description copied from class: AbstractComponentHandler
Stop.

Specified by:
stop in class AbstractComponentHandler
Parameters:
channel - the channel

fromAdmin

public void fromAdmin(quickfix.Message arg0,
                      quickfix.SessionID arg1)
               throws quickfix.FieldNotFound,
                      quickfix.IncorrectDataFormat,
                      quickfix.IncorrectTagValue,
                      quickfix.RejectLogon
Specified by:
fromAdmin in interface quickfix.Application
Throws:
quickfix.FieldNotFound
quickfix.IncorrectDataFormat
quickfix.IncorrectTagValue
quickfix.RejectLogon

fromApp

public void fromApp(quickfix.Message message,
                    quickfix.SessionID arg1)
             throws quickfix.FieldNotFound,
                    quickfix.IncorrectDataFormat,
                    quickfix.IncorrectTagValue,
                    quickfix.UnsupportedMessageType
Specified by:
fromApp in interface quickfix.Application
Throws:
quickfix.FieldNotFound
quickfix.IncorrectDataFormat
quickfix.IncorrectTagValue
quickfix.UnsupportedMessageType

onCreate

public void onCreate(quickfix.SessionID arg0)
Specified by:
onCreate in interface quickfix.Application

onLogon

public void onLogon(quickfix.SessionID channelID)
Specified by:
onLogon in interface quickfix.Application

onLogout

public void onLogout(quickfix.SessionID channelID)
Specified by:
onLogout in interface quickfix.Application

toAdmin

public void toAdmin(quickfix.Message arg0,
                    quickfix.SessionID arg1)
Specified by:
toAdmin in interface quickfix.Application

toApp

public void toApp(quickfix.Message arg0,
                  quickfix.SessionID arg1)
           throws quickfix.DoNotSend
Specified by:
toApp in interface quickfix.Application
Throws:
quickfix.DoNotSend

getAbstractBusinessComponent

public AbstractBusinessComponent getAbstractBusinessComponent()
Description copied from class: AbstractComponentHandler
Gets the abstract business component.

Specified by:
getAbstractBusinessComponent in class AbstractComponentHandler
Returns:
the abstract business component

processFIXMessage

public void processFIXMessage(java.util.List<MessageEntry> messages)
Description copied from class: AbstractComponentHandler
Process fix message.

Parameters:
messages - the message list

getTargetCompIDIfOnline

public java.lang.String getTargetCompIDIfOnline(Counterparty counterparty)
Description copied from class: AbstractComponentHandler
Gets the target comp id if online.

Overrides:
getTargetCompIDIfOnline in class AbstractComponentHandler
Parameters:
counterparty - the counterparty
Returns:
the target comp id if online