diff options
author | Benoit Foucher <benoit@zeroc.com> | 2004-06-02 21:17:40 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2004-06-02 21:17:40 +0000 |
commit | c209ff436f4268b8db689a2dd17615456eea78ce (patch) | |
tree | 5feb8607988706851bfdfdd5ba2d3924ba5b8f6c /cpp/src/IcePack/NodeInfo.cpp | |
parent | Fixed to AMD code generation. (diff) | |
download | ice-c209ff436f4268b8db689a2dd17615456eea78ce.tar.bz2 ice-c209ff436f4268b8db689a2dd17615456eea78ce.tar.xz ice-c209ff436f4268b8db689a2dd17615456eea78ce.zip |
Merged icepack_refactoring2_branch, many IcePack changes.
Diffstat (limited to 'cpp/src/IcePack/NodeInfo.cpp')
-rw-r--r-- | cpp/src/IcePack/NodeInfo.cpp | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/cpp/src/IcePack/NodeInfo.cpp b/cpp/src/IcePack/NodeInfo.cpp deleted file mode 100644 index 9e7963ea0bc..00000000000 --- a/cpp/src/IcePack/NodeInfo.cpp +++ /dev/null @@ -1,93 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2004 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. -// -// ********************************************************************** - -#include <Ice/Ice.h> -#include <IcePack/NodeInfo.h> -#include <IcePack/ServerFactory.h> -#include <IcePack/TraceLevels.h> - -using namespace std; -using namespace IcePack; - -IcePack::NodeInfo::NodeInfo(const Ice::CommunicatorPtr& communicator, - const ServerFactoryPtr& serverFactory, - const NodePtr& node, - const TraceLevelsPtr& traceLevels) : - _communicator(communicator), - _serverFactory(serverFactory), - _node(node), - _traceLevels(traceLevels) -{ -} - -Ice::CommunicatorPtr -IcePack::NodeInfo::getCommunicator() const -{ - return _communicator; -} - -ServerFactoryPtr -IcePack::NodeInfo::getServerFactory() const -{ - return _serverFactory; -} - -TraceLevelsPtr -IcePack::NodeInfo::getTraceLevels() const -{ - return _traceLevels; -} - -NodePtr -IcePack::NodeInfo::getNode() const -{ - return _node; -} - -AdapterRegistryPrx -IcePack::NodeInfo::getAdapterRegistry() const -{ - try - { - return AdapterRegistryPrx::checkedCast( - _communicator->stringToProxy("IcePack/AdapterRegistry@IcePack.Registry.Internal")); - } - catch(const Ice::LocalException&) - { - return 0; - } -} - -ObjectRegistryPrx -IcePack::NodeInfo::getObjectRegistry() const -{ - try - { - return ObjectRegistryPrx::checkedCast( - _communicator->stringToProxy("IcePack/ObjectRegistry@IcePack.Registry.Internal")); - } - catch(const Ice::LocalException&) - { - return 0; - } -} - -ServerRegistryPrx -IcePack::NodeInfo::getServerRegistry() const -{ - try - { - return ServerRegistryPrx::checkedCast( - _communicator->stringToProxy("IcePack/ServerRegistry@IcePack.Registry.Internal")); - } - catch(const Ice::LocalException&) - { - return 0; - } -} |