1 // 2 // Copyright (c) ZeroC, Inc. All rights reserved. 3 // 4 5 namespace IceInternal 6 { 7 public interface CancellationHandler 8 { asyncRequestCanceled(OutgoingAsyncBase outAsync, Ice.LocalException ex)9 void asyncRequestCanceled(OutgoingAsyncBase outAsync, Ice.LocalException ex); 10 } 11 12 public interface RequestHandler : CancellationHandler 13 { update(RequestHandler previousHandler, RequestHandler newHandler)14 RequestHandler update(RequestHandler previousHandler, RequestHandler newHandler); 15 16 int sendAsyncRequest(ProxyOutgoingAsyncBase @out); 17 getReference()18 Reference getReference(); 19 getConnection()20 Ice.ConnectionI getConnection(); 21 } 22 } 23