1
1
// **********************************************************************
3
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
3
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
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.
8
8
// **********************************************************************
10
#ifndef OCCI_SERVANT_LOCATOR_H
11
#define OCCI_SERVANT_LOCATOR_H
13
#include <DeptFactoryI.h>
14
#include <Ice/ServantLocator.h>
17
class OCCIServantLocator : public Ice::ServantLocator
21
OCCIServantLocator(const DeptFactoryIPtr&);
23
virtual Ice::ObjectPtr locate(const Ice::Current&, Ice::LocalObjectPtr&);
24
virtual void finished(const Ice::Current&, const Ice::ObjectPtr&, const Ice::LocalObjectPtr&);
25
virtual void deactivate(const std::string&);
28
DeptFactoryIPtr _factory;
10
#ifndef OCCI_SERVANT_LOCATOR_H
11
#define OCCI_SERVANT_LOCATOR_H
13
#include <DeptFactoryI.h>
14
#include <Ice/ServantLocator.h>
17
class OCCIServantLocator : public Ice::ServantLocator
21
OCCIServantLocator(const DeptFactoryIPtr&);
23
virtual Ice::ObjectPtr locate(const Ice::Current&, Ice::LocalObjectPtr&);
24
virtual void finished(const Ice::Current&, const Ice::ObjectPtr&, const Ice::LocalObjectPtr&);
25
virtual void deactivate(const std::string&);
28
DeptFactoryIPtr _factory;