blob: ac2f2646238155a49a1b609be31027257aef5c80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
// **********************************************************************
//
// Copyright (c) 2001
// MutableRealms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************
#ifndef ICE_PACK_FORWARD_H
#define ICE_PACK_FORWARD_H
#include <IcePack/AdminF.h>
#ifndef _WIN32
# include <IcePack/Activator.h>
#endif
namespace IcePack
{
class Forward : public Ice::ServantLocator
{
public:
Forward(const Ice::CommunicatorPtr& communicator, const AdminPtr&);
virtual ~Forward();
virtual Ice::ObjectPtr locate(const Ice::ObjectAdapterPtr&, const Ice::Current&, Ice::LocalObjectPtr&);
virtual void finished(const Ice::ObjectAdapterPtr&, const Ice::Current&,
const Ice::ObjectPtr&, const Ice::LocalObjectPtr&);
virtual void deactivate();
private:
Ice::CommunicatorPtr _communicator;
AdminPtr _admin;
#ifndef _WIN32
ActivatorPtr _activator;
int _waitTime;
#endif
};
}
#endif
|