Package com.epam.example.icetrade.engine
Class ICETradeFacade
java.lang.Object
com.epam.example.icetrade.engine.ICETradeFacade
- All Implemented Interfaces:
FIXMessageListener,FIXSessionListener
- Author:
- Serhiy_Zahriychuk Date: May 19, 2009
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonNewMessage(FIXFieldList message) This method is invoked every time when FIX Engine receives application message.voidonSessionStateChange(SessionState sessionState) This method is invoked every time when Session is changed.voidsetSession(FIXSession session) voidstart()voidstop()voidsubscribe(Calendar selectedDate, String securityID, Object selectedItem, boolean isSecuritySubscribe) void
-
Constructor Details
-
ICETradeFacade
-
-
Method Details
-
getSession
-
setSession
-
getSecurityID
-
stop
public void stop() -
subscribe
-
unSubscribe
public void unSubscribe() -
start
- Throws:
IOException
-
onSessionStateChange
Description copied from interface:FIXSessionListenerThis method is invoked every time when Session is changed.- Specified by:
onSessionStateChangein interfaceFIXSessionListener- Parameters:
sessionState- new session state
-
onNewMessage
Description copied from interface:FIXMessageListenerThis method is invoked every time when FIX Engine receives application message.- Specified by:
onNewMessagein interfaceFIXMessageListener- Parameters:
message- the incoming message
-