~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to cs/test/Ice/location/Server.cs

  • Committer: Bazaar Package Importer
  • Author(s): Cleto Martin Angelina
  • Date: 2011-04-25 18:44:24 UTC
  • mfrom: (6.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110425184424-sep9i9euu434vq4c
Tags: 3.4.1-7
* Bug fix: "libdb5.1-java.jar was renamed to db.jar", thanks to Ondřej
  Surý (Closes: #623555).
* Bug fix: "causes noise in php5", thanks to Jayen Ashar (Closes:
  #623533).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// **********************************************************************
2
2
//
3
 
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
 
3
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
4
4
//
5
5
// This copy of Ice is licensed to you under the terms described in the
6
6
// ICE_LICENSE file included in this distribution.
29
29
        //
30
30
        Ice.Properties properties = communicator.getProperties();
31
31
        properties.setProperty("Ice.ThreadPool.Server.Size", "2");
32
 
        properties.setProperty("ServerManagerAdapter.Endpoints", "default -p 12010 -t 30000:udp");
 
32
        properties.setProperty("ServerManagerAdapter.Endpoints", "default -p 12010:udp");
33
33
        
34
34
        Ice.ObjectAdapter adapter = communicator.createObjectAdapter("ServerManagerAdapter");
35
35
        
39
39
        // 'servers' created with the server manager interface.
40
40
        //
41
41
        ServerLocatorRegistry registry = new ServerLocatorRegistry();
42
 
        Ice.Object @object = new ServerManagerI(adapter, registry, initData);
 
42
        Ice.Object @object = new ServerManagerI(registry, initData);
43
43
        adapter.add(@object, communicator.stringToIdentity("ServerManager"));
44
44
        registry.addObject(adapter.createProxy(communicator.stringToIdentity("ServerManager")));
45
45
        Ice.LocatorRegistryPrx registryPrx = Ice.LocatorRegistryPrxHelper.uncheckedCast(