com.epam.example.icetrade.engine
Class ICETradeFacade

java.lang.Object
  extended by com.epam.example.icetrade.engine.ICETradeFacade
All Implemented Interfaces:
FIXMessageListener, FIXSessionListener

public final class ICETradeFacade
extends Object
implements FIXSessionListener

Author:
Serhiy_Zahriychuk Date: May 19, 2009

Constructor Summary
ICETradeFacade(FIXSession session, ICEListener iceSessionStateListener)
           
 
Method Summary
 String getSecurityID()
           
 FIXSession getSession()
           
 void onNewMessage(FIXFieldList message)
          This method is invoked every time when FIX Engine receives application message.
 void onSessionStateChange(SessionState sessionState)
          This method is invoked every time when Session is changed.
 void setSession(FIXSession session)
           
 void start()
           
 void stop()
           
 void subscribe(Calendar selectedDate, String securityID, Object selectedItem, boolean isSecuritySubscribe)
           
 void unSubscribe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICETradeFacade

public ICETradeFacade(FIXSession session,
                      ICEListener iceSessionStateListener)
Method Detail

getSession

public FIXSession getSession()

setSession

public void setSession(FIXSession session)

getSecurityID

public String getSecurityID()

stop

public void stop()

subscribe

public void subscribe(Calendar selectedDate,
                      String securityID,
                      Object selectedItem,
                      boolean isSecuritySubscribe)

unSubscribe

public void unSubscribe()

start

public void start()
           throws IOException
Throws:
IOException

onSessionStateChange

public void onSessionStateChange(SessionState sessionState)
Description copied from interface: FIXSessionListener
This method is invoked every time when Session is changed.

Specified by:
onSessionStateChange in interface FIXSessionListener
Parameters:
sessionState - new session state

onNewMessage

public void onNewMessage(FIXFieldList message)
Description copied from interface: FIXMessageListener
This method is invoked every time when FIX Engine receives application message.

Specified by:
onNewMessage in interface FIXMessageListener
Parameters:
message - the incoming message


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.