Ejemplo n.º 1
0
 public void OnSuccess(IHTTPRequest request, IHTTPResponse response)
 {
     if (listener != null)
     {
         listener.OnSuccess(request, response);
     }
 }
Ejemplo n.º 2
0
        public override void OnSuccess(IHTTPResponse response)
        {
            IHTTPListener listener = getEffectiveListener();

            if (listener != null)
            {
                UnityThreadHelper.Dispatcher.Dispatch(delegate
                {
                    listener.OnSuccess(this, response);
                });
            }
        }
Ejemplo n.º 3
0
        public virtual void OnSuccess(IHTTPResponse response)
        {
            IHTTPListener effectiveListener = getEffectiveListener();

            if (effectiveListener != null)
            {
                try
                {
                    effectiveListener.OnSuccess(this, response);
                }
                catch (Exception exception)
                {
                    Debug.LogError("A listener threw an exception.");
                    Debug.LogException(exception);
                }
            }
        }
 public override void perform(IHTTPListener inner)
 {
     inner.OnSuccess(request, response);
 }