void IWrlConn.Load(object piDispatch, string bstrAuthInfo, string bstrLang) { m_WebSocketConnect = piDispatch as IWebSocketConnect; if (null != m_WebSocketConnect) { WriteLog("PluginNetDll", "成功获得WS接口"); } else { WriteLog("PluginNetDll", "获取WS接口失败"); } }
void IWrlConn.Unload(ZbaBase.EWrlCloseConnType eCloseConnType, string bstrReason) { m_WebSocketConnect = null; WriteLog("PluginNetDll", "请求卸载小程序"); }