diff options
Diffstat (limited to 'py/demo/Ice/minimal/Server.py')
-rwxr-xr-x | py/demo/Ice/minimal/Server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/demo/Ice/minimal/Server.py b/py/demo/Ice/minimal/Server.py index 3edb7303bb8..d0dff8b4ea4 100755 --- a/py/demo/Ice/minimal/Server.py +++ b/py/demo/Ice/minimal/Server.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # ********************************************************************** # -# Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved. +# Copyright (c) 2003-2014 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. @@ -19,7 +19,7 @@ class HelloI(Demo.Hello): try: communicator = Ice.initialize(sys.argv) - adapter = communicator.createObjectAdapterWithEndpoints("Hello", "tcp -h localhost -p 10000") + adapter = communicator.createObjectAdapterWithEndpoints("Hello", "default -h localhost -p 10000") adapter.add(HelloI(), communicator.stringToIdentity("hello")) adapter.activate() communicator.waitForShutdown() |