summaryrefslogtreecommitdiff
path: root/cpp/src/IceWall/Router.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-11-30 23:21:32 +0000
committerMarc Laukien <marc@zeroc.com>2001-11-30 23:21:32 +0000
commit4204677cc8a337d5f51218f4c83ec05f2106c7d4 (patch)
treefe3278edb7e02993d25e848a9f94c38ac245b94a /cpp/src/IceWall/Router.cpp
parentstarted with IceWall (diff)
downloadice-4204677cc8a337d5f51218f4c83ec05f2106c7d4.tar.bz2
ice-4204677cc8a337d5f51218f4c83ec05f2106c7d4.tar.xz
ice-4204677cc8a337d5f51218f4c83ec05f2106c7d4.zip
ProxyRequested
Diffstat (limited to 'cpp/src/IceWall/Router.cpp')
-rw-r--r--cpp/src/IceWall/Router.cpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/cpp/src/IceWall/Router.cpp b/cpp/src/IceWall/Router.cpp
index 154ca99c4db..769aee8d118 100644
--- a/cpp/src/IceWall/Router.cpp
+++ b/cpp/src/IceWall/Router.cpp
@@ -14,18 +14,24 @@ using namespace std;
using namespace Ice;
using namespace IceWall;
-IceWall::Router::Router()
+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()
+IceWall::Router::Router() :
+ _blobject(new IceWall::Blobject)
{
}
ObjectPtr
-IceWall::Router::locate(const ObjectAdapterPtr& adapter, const Current& current, LocalObjectPtr&)
+IceWall::Router::locate(const ObjectAdapterPtr&, const Current&, LocalObjectPtr&)
{
- return 0;
+ return _blobject;
}
void
@@ -37,4 +43,5 @@ IceWall::Router::finished(const ObjectAdapterPtr&, const Current&, const ObjectP
void
IceWall::Router::deactivate()
{
+ _blobject = 0;
}