1
// **********************************************************************
3
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
5
// This copy of Ice is licensed to you under the terms described in the
6
// ICE_LICENSE file included in this distribution.
8
// **********************************************************************
13
run(String[] args, Ice.Communicator communicator)
15
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000");
16
Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter");
17
Ice.Object object = new InitialI();
18
adapter.add(object, communicator.stringToIdentity("initial"));
20
communicator.waitForShutdown();
28
Ice.Communicator communicator = null;
32
communicator = Ice.Util.initialize(args);
33
status = run(args, communicator);
41
if(communicator != null)
45
communicator.destroy();
47
catch(Ice.LocalException ex)