diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-01-29 06:49:10 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-01-29 06:49:10 +0000 |
commit | 0001dc614d21380fb22a22566a44e6d2eae88542 (patch) | |
tree | c2a50cf5bd26da7ce3844146473989ebac902515 /java/src/IceInternal/Outgoing.java | |
parent | adding server (diff) | |
download | ice-0001dc614d21380fb22a22566a44e6d2eae88542.tar.bz2 ice-0001dc614d21380fb22a22566a44e6d2eae88542.tar.xz ice-0001dc614d21380fb22a22566a44e6d2eae88542.zip |
align with stable_31
Diffstat (limited to 'java/src/IceInternal/Outgoing.java')
-rw-r--r-- | java/src/IceInternal/Outgoing.java | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/java/src/IceInternal/Outgoing.java b/java/src/IceInternal/Outgoing.java index 529806912c5..138a2ce056e 100644 --- a/java/src/IceInternal/Outgoing.java +++ b/java/src/IceInternal/Outgoing.java @@ -13,8 +13,8 @@ package IceInternal; public final class Outgoing { public - Outgoing(Connection connection, Reference ref, boolean sendProxy, - String operation, boolean nonmutating, java.util.Map context) + Outgoing(Connection connection, Reference ref, String operation, + boolean nonmutating, java.util.Map context) { _connection = connection; _reference = ref; @@ -40,18 +40,8 @@ public final class Outgoing } } - _os.writeBool(sendProxy); - if (sendProxy) - { - Ice.ObjectPrx proxy = _reference.instance.proxyFactory(). - referenceToProxy(_reference); - _os.writeProxy(proxy); - } - else - { - _reference.identity.__write(_os); - _os.writeString(_reference.facet); - } + _reference.identity.__write(_os); + _os.writeString(_reference.facet); _os.writeString(operation); _os.writeBool(nonmutating); if (context == null) @@ -76,8 +66,8 @@ public final class Outgoing // // Input and output parameters are always sent in an - // encapsulation, which makes it possible to forward oneway - // requests as blobs. + // encapsulation, which makes it possible to forward requests as + // blobs. // _os.startWriteEncaps(); } |