blob: 769aee8d1189e4cf228164205e3c479812023a38 (
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
47
|
// **********************************************************************
//
// Copyright (c) 2001
// MutableRealms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************
#include <IceWall/Router.h>
using namespace std;
using namespace Ice;
using namespace IceWall;
void
IceWall::Blobject::ice_invoke(const std::vector<Byte>& inParams, std::vector<Byte>& outParams, const Current& current)
{
cout << current.identity << endl;
cout << current.facet << endl;
cout << current.operation << endl;
throw UnknownLocalException(__FILE__, __LINE__);
}
IceWall::Router::Router() :
_blobject(new IceWall::Blobject)
{
}
ObjectPtr
IceWall::Router::locate(const ObjectAdapterPtr&, const Current&, LocalObjectPtr&)
{
return _blobject;
}
void
IceWall::Router::finished(const ObjectAdapterPtr&, const Current&, const ObjectPtr&, const LocalObjectPtr&)
{
// Nothing to do
}
void
IceWall::Router::deactivate()
{
_blobject = 0;
}
|