summaryrefslogtreecommitdiff
path: root/cpp/src/IceWall/Router.h
blob: ac28e75420c8a2d73b2d210a995cf443e4ddb2bd (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
// **********************************************************************
//
// Copyright (c) 2001
// MutableRealms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************

#ifndef ICE_WALL_ROUTER_H
#define ICE_WALL_ROUTER_H

#include <Ice/Ice.h>

namespace IceWall
{

class Blobject : public Ice::Blobject
{
public:

    virtual void ice_invoke(const std::vector<Ice::Byte>&, std::vector<Ice::Byte>&, const Ice::Current&);
};

class Router : public Ice::ServantLocator
{
public:

    Router();
    
    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::ObjectPtr _blobject;
};

}

#endif