// ********************************************************************** // // Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ********************************************************************** // Ice version 3.4.1 package IceBox; // <auto-generated> // // Generated from file `IceBox.ice' // // Warning: do not edit this file. // // </auto-generated> public final class _ServiceObserverDelM extends Ice._ObjectDelM implements _ServiceObserverDel { public void servicesStarted(String[] services, java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { IceInternal.Outgoing __og = __handler.getOutgoing("servicesStarted", Ice.OperationMode.Normal, __ctx); try { try { IceInternal.BasicStream __os = __og.os(); Ice.StringSeqHelper.write(__os, services); } catch(Ice.LocalException __ex) { __og.abort(__ex); } boolean __ok = __og.invoke(); if(!__og.is().isEmpty()) { try { if(!__ok) { try { __og.throwUserException(); } catch(Ice.UserException __ex) { throw new Ice.UnknownUserException(__ex.ice_name()); } } __og.is().skipEmptyEncaps(); } catch(Ice.LocalException __ex) { throw new IceInternal.LocalExceptionWrapper(__ex, false); } } } finally { __handler.reclaimOutgoing(__og); } } public void servicesStopped(String[] services, java.util.Map<String, String> __ctx) throws IceInternal.LocalExceptionWrapper { IceInternal.Outgoing __og = __handler.getOutgoing("servicesStopped", Ice.OperationMode.Normal, __ctx); try { try { IceInternal.BasicStream __os = __og.os(); Ice.StringSeqHelper.write(__os, services); } catch(Ice.LocalException __ex) { __og.abort(__ex); } boolean __ok = __og.invoke(); if(!__og.is().isEmpty()) { try { if(!__ok) { try { __og.throwUserException(); } catch(Ice.UserException __ex) { throw new Ice.UnknownUserException(__ex.ice_name()); } } __og.is().skipEmptyEncaps(); } catch(Ice.LocalException __ex) { throw new IceInternal.LocalExceptionWrapper(__ex, false); } } } finally { __handler.reclaimOutgoing(__og); } } }