protected static int OIASNotifyCB(HCLIENT hClient, NOTIFY_INFO notifyInfo) { OIASClient clientObj = FindClient(hClient); if (clientObj == null) { PrintNotify(notifyInfo); return(0); } return(clientObj.OnOIASNotify(notifyInfo)); }
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); }
public static extern ERRORCODE OIAS_DeleteClient(HCLIENT hClient);
public static extern ERRORCODE OIAS_ListFault(HCLIENT hClient, OBJECT_LIST faultList);
public static extern ERRORCODE OIAS_ListStrategy(HCLIENT hClient, OBJECT_LIST strategyList);
public static extern ERRORCODE OIAS_Logout(HCLIENT hClient);
public static extern ERRORCODE OIAS_SetLoginInfo(HCLIENT hClient, LOGIN_INFO loginInfo);
public static extern ERRORCODE OIAS_SetNotifyRecvProc(HCLIENT hClient, OIAS_NotifyCallBack notifyCB);