diff options
author | Marc Laukien <marc@zeroc.com> | 2001-11-30 23:21:32 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-11-30 23:21:32 +0000 |
commit | 4204677cc8a337d5f51218f4c83ec05f2106c7d4 (patch) | |
tree | fe3278edb7e02993d25e848a9f94c38ac245b94a /cpp/src/IceWall/Router.cpp | |
parent | started with IceWall (diff) | |
download | ice-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.cpp | 15 |
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; } |