#define ONFRONTCONNECTED 1 #define ONFRONTDISCONNECTED 2 #define ONRSPUSERLOGIN 3 #define ONRSPUSERLOGOUT 4 #define ONRSPERROR 5 #define ONRSPSUBMARKETDATA 6 #define ONRSPUNSUBMARKETDATA 7 #define ONRSPSUBFORQUOTERSP 8 #define ONRSPUNSUBFORQUOTERSP 9 #define ONRTNDEPTHMARKETDATA 10 #define ONRTNFORQUOTERSP 11