Exemplo n.º 1
0
 /// <summary>
 /// 开始请求
 /// </summary>
 /// <param name="options"> </param>
 /// <param name="acpListener"> </param>
 internal virtual void Request(AcpOptions options, IAcpListener acpListener)
 {
     lock (this)
     {
         mCallback = acpListener;
         mOptions  = options;
         CheckSelfPermission();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 开始请求
 /// </summary>
 /// <param name="options"> </param>
 /// <param name="acpListener"> </param>
 public virtual void request(AcpOptions options, IAcpListener acpListener)
 {
     if (options == null)
     {
         new System.NullReferenceException("AcpOptions is null...");
     }
     if (acpListener == null)
     {
         new System.NullReferenceException("AcpListener is null...");
     }
     mAcpManager.Request(options, acpListener);
 }