/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="eventArgs"></param> private void OnConnecterProcessMessageBlock(object sender, ProcessDataAtClientEventArgs eventArgs) { // 内部已经有锁定(Connecter) m_ClientSocketManager.ReceiveBuffer.Enqueue(eventArgs.ProcessData.ReadPointer(), 0, eventArgs.ProcessData.WriteLength); // 接受信号 m_ClientSocketManager.ReceiveSignal(); }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="eventArgs"></param> private void OnConnecterProcessMessageBlock( object sender, ProcessDataAtClientEventArgs eventArgs ) { // 内部已经有锁定(Connecter) m_ClientSocketManager.ReceiveBuffer.Enqueue( eventArgs.ProcessData.ReadPointer(), 0, eventArgs.ProcessData.WriteLength ); // 接受信号 m_ClientSocketManager.ReceiveSignal(); }