#define ONFRONTCONNECTED 0
#define ONFRONTDISCONNECTED 1
#define ONHEARTBEATWARNING 2
#define ONRSPERROR 3
#define ONRSPUSERLOGIN 4
#define ONRSPUSERLOGOUT 5
#define ONRSPSUBALLMARKETDATA 6
#define ONRSPUNSUBALLMARKETDATA 7
#define ONRSPSUBALLTICKBYTICK 8
#define ONRSPUNSUBALLTICKBYTICK 9
#define ONRSPSUBMARKETDATA 10
#define ONRSPUNSUBMARKETDATA 11
#define ONRSPSUBTICKBYTICK 12
#define ONRSPUNSUBTICKBYTICK 13
#define ONRTNDEPTHMARKETDATA 14
#define ONRTNTICKBYTICK 15
#define ONRTNORDERBOOK 16
#define ONRSPSUBORDERBOOK 17
#define ONRSPUNSUBORDERBOOK 18
