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