public void push(Ice.DispatchInterceptorAsyncCallback cb) { if (interceptorAsyncCallbackList_ == null) { interceptorAsyncCallbackList_ = new List <Ice.DispatchInterceptorAsyncCallback>(); } interceptorAsyncCallbackList_.Insert(0, cb); }
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(); } } }