// ********************************************************************** // // Copyright (c) 2003 // ZeroC, Inc. // Billerica, MA, USA // // All Rights Reserved. // // Ice is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License version 2 as published by // the Free Software Foundation. // // ********************************************************************** public final class CallbackI extends Callback { public void initiateCallback(CallbackReceiverPrx proxy, Ice.Current current) { System.out.println("initiating callback"); proxy.callback(current.ctx); } public void shutdown(Ice.Current current) { System.out.println("Shutting down..."); current.adapter.getCommunicator().shutdown(); } }