예제 #1
0
파일: Proxy.cs 프로젝트: bholl/zeroc-ice
        public virtual void setup(IceInternal.Reference rf, ObjectPrx proxy, bool async)
        {
            //
            // No need to synchronize, as this operation is only called
            // upon initialization.
            //

            Debug.Assert(handler__ == null);

            if(async)
            {
                IceInternal.ConnectRequestHandler handler = new IceInternal.ConnectRequestHandler(rf, proxy, this);
                handler__ = handler.connect();
            }
            else
            {
                handler__ = new IceInternal.ConnectionRequestHandler(rf, proxy);
            }
        }
예제 #2
0
파일: Proxy.cs 프로젝트: bholl/zeroc-ice
        //
        // Only for use by ObjectPrx
        //
        internal void copyFrom__(ObjectDelM_ from)
        {
            //
            // No need to synchronize "from", as the delegate is immutable
            // after creation.
            //

            //
            // No need to synchronize, as this operation is only called
            // upon initialization.
            //

            Debug.Assert(handler__ == null);

            handler__ = from.handler__;
        }
예제 #3
0
파일: Proxy.cs 프로젝트: bholl/zeroc-ice
 public virtual void setRequestHandler__(IceInternal.RequestHandler handler)
 {
     handler__ = handler;
 }