예제 #1
0
 public void OnStart(IHTTPRequest request)
 {
     if (listener != null)
     {
         listener.OnStart(request);
     }
 }
예제 #2
0
        public override void OnStart()
        {
            IHTTPListener listener = getEffectiveListener();

            if (listener != null)
            {
                UnityThreadHelper.Dispatcher.Dispatch(delegate
                {
                    listener.OnStart(this);
                });
            }
        }
예제 #3
0
        public virtual void OnStart()
        {
            IHTTPListener effectiveListener = getEffectiveListener();

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