diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-01-21 13:20:59 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-01-21 13:20:59 +0100 |
commit | 52bd621c7d3fa7b144d8fad7941ac8d43e942be8 (patch) | |
tree | bdd7565282d503251d82205ce7fe3e57102a96d2 /py/modules/IcePy/ObjectAdapter.cpp | |
parent | async I/O in C# (diff) | |
download | ice-52bd621c7d3fa7b144d8fad7941ac8d43e942be8.tar.bz2 ice-52bd621c7d3fa7b144d8fad7941ac8d43e942be8.tar.xz ice-52bd621c7d3fa7b144d8fad7941ac8d43e942be8.zip |
- Removed OA createReverseProxy method.
- Fixed bug 2141, 2645, 2632, 1547.
- It's now possible to call ice_secure on a fixed proxy to require a secure connetion.
Diffstat (limited to 'py/modules/IcePy/ObjectAdapter.cpp')
-rw-r--r-- | py/modules/IcePy/ObjectAdapter.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/py/modules/IcePy/ObjectAdapter.cpp b/py/modules/IcePy/ObjectAdapter.cpp index b96820c3f1e..803252546e9 100644 --- a/py/modules/IcePy/ObjectAdapter.cpp +++ b/py/modules/IcePy/ObjectAdapter.cpp @@ -1256,40 +1256,6 @@ adapterCreateIndirectProxy(ObjectAdapterObject* self, PyObject* args) extern "C" #endif static PyObject* -adapterCreateReverseProxy(ObjectAdapterObject* self, PyObject* args) -{ - PyObject* identityType = lookupType("Ice.Identity"); - PyObject* id; - if(!PyArg_ParseTuple(args, STRCAST("O!"), identityType, &id)) - { - return 0; - } - - Ice::Identity ident; - if(!getIdentity(id, ident)) - { - return 0; - } - - assert(self->adapter); - Ice::ObjectPrx proxy; - try - { - proxy = (*self->adapter)->createReverseProxy(ident); - } - catch(const Ice::Exception& ex) - { - setPythonException(ex); - return 0; - } - - return createProxy(proxy, (*self->adapter)->getCommunicator()); -} - -#ifdef WIN32 -extern "C" -#endif -static PyObject* adapterSetLocator(ObjectAdapterObject* self, PyObject* args) { PyObject* proxyType = lookupType("Ice.LocatorPrx"); @@ -1391,8 +1357,6 @@ static PyMethodDef AdapterMethods[] = PyDoc_STR(STRCAST("createDirectProxy(identity) -> Ice.ObjectPrx")) }, { STRCAST("createIndirectProxy"), reinterpret_cast<PyCFunction>(adapterCreateIndirectProxy), METH_VARARGS, PyDoc_STR(STRCAST("createIndirectProxy(identity) -> Ice.ObjectPrx")) }, - { STRCAST("createReverseProxy"), reinterpret_cast<PyCFunction>(adapterCreateReverseProxy), METH_VARARGS, - PyDoc_STR(STRCAST("createReverseProxy(identity) -> Ice.ObjectPrx")) }, { STRCAST("setLocator"), reinterpret_cast<PyCFunction>(adapterSetLocator), METH_VARARGS, PyDoc_STR(STRCAST("setLocator(proxy) -> None")) }, { STRCAST("refreshPublishedEndpoints"), reinterpret_cast<PyCFunction>(adapterRefreshPublishedEndpoints), METH_NOARGS, |