예제 #1
0
파일: Incoming.cs 프로젝트: stick/zeroc-ice
        public void push(Ice.DispatchInterceptorAsyncCallback cb)
        {
            if (interceptorAsyncCallbackList_ == null)
            {
                interceptorAsyncCallbackList_ = new List <Ice.DispatchInterceptorAsyncCallback>();
            }

            interceptorAsyncCallbackList_.Insert(0, cb);
        }
예제 #2
0
 public virtual Ice.DispatchStatus ice_dispatch(Ice.Request request, Ice.DispatchInterceptorAsyncCallback cb)
 {
     IceInternal.Incoming inc = (IceInternal.Incoming)request;
     if (cb != null)
     {
         inc.push(cb);
     }
     try
     {
         inc.startOver();
         return(dispatch__(inc, inc.getCurrent()));
     }
     finally
     {
         if (cb != null)
         {
             inc.pop();
         }
     }
 }