com.epam.example.icetrade.engine
Class ICETradeFacade
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ICETradeFacade
public ICETradeFacade(FIXSession session,
ICEListener iceSessionStateListener)
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.