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); } }
// // 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__; }
public virtual void setRequestHandler__(IceInternal.RequestHandler handler) { handler__ = handler; }