⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 useritembase.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.Core
{
    using Imps.Client.Base;
    using System;

    public abstract class UserItemBase
    {
        private User _owner;

        public UserItemBase(User owner)
        {
            if (owner == null)
            {
                throw new ArgumentNullException("owner");
            }
            this._owner = owner;
        }

        protected SipRequest CreateSipRequest(string method)
        {
            return this.Owner.CreateSipRequest(method);
        }

        protected SipRequest CreateSipRequest(string method, long callId, int cSeq)
        {
            return this.Owner.CreateSipRequest(method, callId, cSeq);
        }

        protected SipRequestEx CreateSipRequestEx(string method, AsyncBizOperation op)
        {
            return this.Owner.CreateSipRequestEx(method, op);
        }

        protected SipRequestEx CreateSipRequestEx(string method, long callId, int cSeq, AsyncBizOperation op)
        {
            return this.Owner.CreateSipRequestEx(method, callId, cSeq, op);
        }

        protected SipResponse CreateSipResponse(SipRequest req)
        {
            return this.Owner.CreateSipResponse(req);
        }

        protected SipResponse CreateSipResponse(SipRequest req, int statusCode, string reasonPhrease)
        {
            return this.Owner.CreateSipResponse(req, statusCode, reasonPhrease);
        }

        protected void SendSipMessage(SipMessageBase msg)
        {
            this._owner.SendSipMessage(msg);
        }

        public User Owner
        {
            get
            {
                return this._owner;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -