internal CClientSocket() { m_h = IntPtr.Zero; m_PushImpl = new CPushImpl(this); m_qm = new CClientQueueImpl(this); m_hsc += new POnHandShakeCompleted(OnHSCompleted); m_rp += new POnRequestProcessed(OnRProcessed); m_ss += new POnSocketClosed(OnSClosed); m_sc += new POnSocketConnected(OnSConnected); m_brp += new POnBaseRequestProcessed(OnBRProcessed); m_arp += new POnAllRequestsProcessed(OnARProcessed); m_se += new POnServerException(OnSException); m_sx += new POnSpeakEx(OnBEx); m_enter += new POnEnter(OnEnter); m_exit += new POnExit(OnExit); m_s += new POnSpeak(OnB); m_sume += new POnSendUserMessageEx(OnPUMessageEx); m_sum += new POnSendUserMessage(OnPUMessage); }
internal static extern void SetOnSocketClosed(IntPtr h, POnSocketClosed p);