summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Outgoing.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-12-01 18:31:27 +0000
committerMarc Laukien <marc@zeroc.com>2001-12-01 18:31:27 +0000
commitf579108c1ebffc9b6f720cbdb01712e17c0c1e36 (patch)
treef3a46b2f79e5b3273bb8442245074a7ed424d3f4 /cpp/src/Ice/Outgoing.cpp
parentbug fix (diff)
downloadice-f579108c1ebffc9b6f720cbdb01712e17c0c1e36.tar.bz2
ice-f579108c1ebffc9b6f720cbdb01712e17c0c1e36.tar.xz
ice-f579108c1ebffc9b6f720cbdb01712e17c0c1e36.zip
nonmutating on the wire
Diffstat (limited to 'cpp/src/Ice/Outgoing.cpp')
-rw-r--r--cpp/src/Ice/Outgoing.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp
index 28766a05d06..e8d3860a609 100644
--- a/cpp/src/Ice/Outgoing.cpp
+++ b/cpp/src/Ice/Outgoing.cpp
@@ -39,7 +39,7 @@ IceInternal::NonRepeatable::get() const
}
IceInternal::Outgoing::Outgoing(const EmitterPtr& emitter, const ReferencePtr& ref, bool sendProxy,
- const char* operation, const Context& context) :
+ const char* operation, bool nonmutating, const Context& context) :
_emitter(emitter),
_reference(ref),
_state(StateUnsent),
@@ -64,19 +64,19 @@ IceInternal::Outgoing::Outgoing(const EmitterPtr& emitter, const ReferencePtr& r
}
}
+ _os.write(sendProxy);
if (sendProxy)
{
- _os.write(Byte(1));
ObjectPrx proxy = _reference->instance->proxyFactory()->referenceToProxy(_reference);
_os.write(proxy);
}
else
{
- _os.write(Byte(0));
_os.write(_reference->identity);
_os.write(_reference->facet);
}
_os.write(operation);
+ _os.write(nonmutating);
_os.write(Int(context.size()));
Context::const_iterator p;
for (p = context.begin(); p != context.end(); ++p)