Пример #1
0
 private byte[] abortStream(java.util.Map<String, String> __ctx, boolean __explicitCtx) {
   if (__explicitCtx && __ctx == null) {
     __ctx = _emptyContext;
   }
   final Ice.Instrumentation.InvocationObserver __observer =
       IceInternal.ObserverHelper.get(this, "abortStream", __ctx);
   int __cnt = 0;
   try {
     while (true) {
       Ice._ObjectDel __delBase = null;
       try {
         __checkTwowayOnly("abortStream");
         __delBase = __getDelegate(false);
         _SourceDel __del = (_SourceDel) __delBase;
         return __del.abortStream(__ctx, __observer);
       } catch (IceInternal.LocalExceptionWrapper __ex) {
         __handleExceptionWrapper(__delBase, __ex, __observer);
       } catch (Ice.LocalException __ex) {
         __cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
       }
     }
   } finally {
     if (__observer != null) {
       __observer.detach();
     }
   }
 }
Пример #2
0
 private void modifyTransport(
     Components.TransportProfile theProfile,
     java.util.Map<String, String> __ctx,
     boolean __explicitCtx)
     throws GenericError {
   if (__explicitCtx && __ctx == null) {
     __ctx = _emptyContext;
   }
   final Ice.Instrumentation.InvocationObserver __observer =
       IceInternal.ObserverHelper.get(this, "modifyTransport", __ctx);
   int __cnt = 0;
   try {
     while (true) {
       Ice._ObjectDel __delBase = null;
       try {
         __checkTwowayOnly("modifyTransport");
         __delBase = __getDelegate(false);
         _SourceDel __del = (_SourceDel) __delBase;
         __del.modifyTransport(theProfile, __ctx, __observer);
         return;
       } catch (IceInternal.LocalExceptionWrapper __ex) {
         __handleExceptionWrapper(__delBase, __ex, __observer);
       } catch (Ice.LocalException __ex) {
         __cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
       }
     }
   } finally {
     if (__observer != null) {
       __observer.detach();
     }
   }
 }