示例#1
0
        protected static int OIASNotifyCB(HCLIENT hClient, NOTIFY_INFO notifyInfo)
        {
            OIASClient clientObj = FindClient(hClient);

            if (clientObj == null)
            {
                PrintNotify(notifyInfo);
                return(0);
            }
            return(clientObj.OnOIASNotify(notifyInfo));
        }
示例#2
0
        public static OIASClient FindClient(HCLIENT hClient)
        {
            int count = RegClients.Count;

            for (int i = 0; i < count; i++)
            {
                if (RegClients[i].hClient == hClient)
                {
                    return(RegClients[i]);
                }
            }
            return(null);
        }
示例#3
0
 public static extern ERRORCODE OIAS_DeleteClient(HCLIENT hClient);
示例#4
0
 public static extern ERRORCODE OIAS_ListFault(HCLIENT hClient, OBJECT_LIST faultList);
示例#5
0
 public static extern ERRORCODE OIAS_ListStrategy(HCLIENT hClient, OBJECT_LIST strategyList);
示例#6
0
 public static extern ERRORCODE OIAS_Logout(HCLIENT hClient);
示例#7
0
 public static extern ERRORCODE OIAS_SetLoginInfo(HCLIENT hClient, LOGIN_INFO loginInfo);
示例#8
0
 public static extern ERRORCODE OIAS_SetNotifyRecvProc(HCLIENT hClient, OIAS_NotifyCallBack notifyCB);