/// <summary> /// 将网络层的通知传递到应用层 /// </summary> /// <param name="notifyType"></param> /// <param name="message"></param> private void ReceiveNotify(CometEventType notifyType, String message) { if (OnReceiveNotify != null) { CometEventArgs e = new CometEventArgs() { Type = notifyType, Response = message }; OnReceiveNotify(this, e); } }