summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Current.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-10-11 16:40:44 +0000
committerMark Spruiell <mes@zeroc.com>2004-10-11 16:40:44 +0000
commitedade7bd3ce356a600c4391269f4540158b07969 (patch)
tree549ddfbbe2ccff32f65be87e3d6d7fd3324d9e3d /py/modules/IcePy/Current.cpp
parent*** empty log message *** (diff)
downloadice-edade7bd3ce356a600c4391269f4540158b07969.tar.bz2
ice-edade7bd3ce356a600c4391269f4540158b07969.tar.xz
ice-edade7bd3ce356a600c4391269f4540158b07969.zip
connection fix
Diffstat (limited to 'py/modules/IcePy/Current.cpp')
-rw-r--r--py/modules/IcePy/Current.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/py/modules/IcePy/Current.cpp b/py/modules/IcePy/Current.cpp
index b9c5e5c758c..bc16cc3d083 100644
--- a/py/modules/IcePy/Current.cpp
+++ b/py/modules/IcePy/Current.cpp
@@ -37,13 +37,13 @@ struct CurrentObject
//
// Member identifiers.
//
-const int CURRENT_ADAPTER = 0;
-const int CURRENT_TRANSPORT = 1;
-const int CURRENT_ID = 2;
-const int CURRENT_FACET = 3;
-const int CURRENT_OPERATION = 4;
-const int CURRENT_MODE = 5;
-const int CURRENT_CTX = 6;
+const int CURRENT_ADAPTER = 0;
+const int CURRENT_CONNECTION = 1;
+const int CURRENT_ID = 2;
+const int CURRENT_FACET = 3;
+const int CURRENT_OPERATION = 4;
+const int CURRENT_MODE = 5;
+const int CURRENT_CTX = 6;
}
@@ -135,9 +135,9 @@ currentGetter(CurrentObject* self, void* closure)
result = self->adapter;
break;
}
- case CURRENT_TRANSPORT:
+ case CURRENT_CONNECTION:
{
- // TODO: TransportInfo
+ // TODO: Connection
break;
}
case CURRENT_ID:
@@ -220,7 +220,7 @@ currentGetter(CurrentObject* self, void* closure)
static PyGetSetDef CurrentGetSetters[] =
{
{"adapter", (getter)currentGetter, NULL, "object adapter", (void*)CURRENT_ADAPTER},
- {"con", (getter)currentGetter, NULL, "connection info", (void*)CURRENT_TRANSPORT},
+ {"con", (getter)currentGetter, NULL, "connection info", (void*)CURRENT_CONNECTION},
{"id", (getter)currentGetter, NULL, "identity", (void*)CURRENT_ID},
{"facet", (getter)currentGetter, NULL, "facet name", (void*)CURRENT_FACET},
{"operation", (getter)currentGetter, NULL, "operation name", (void*)CURRENT_OPERATION},