summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/Outgoing.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2005-07-07 19:15:16 +0000
committerMark Spruiell <mes@zeroc.com>2005-07-07 19:15:16 +0000
commit72f0fe54fc96d9a9014b530db8f9987455d6f598 (patch)
tree092a29216d5d55e9ec2ec0d7e047a3a30f2d0239 /java/src/IceInternal/Outgoing.java
parentfixing mono compile error (diff)
downloadice-72f0fe54fc96d9a9014b530db8f9987455d6f598.tar.bz2
ice-72f0fe54fc96d9a9014b530db8f9987455d6f598.tar.xz
ice-72f0fe54fc96d9a9014b530db8f9987455d6f598.zip
cache Outgoing objects in connection instead of delegate
Diffstat (limited to 'java/src/IceInternal/Outgoing.java')
-rw-r--r--java/src/IceInternal/Outgoing.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/java/src/IceInternal/Outgoing.java b/java/src/IceInternal/Outgoing.java
index 1371fc76e5b..6640129de61 100644
--- a/java/src/IceInternal/Outgoing.java
+++ b/java/src/IceInternal/Outgoing.java
@@ -27,15 +27,16 @@ public final class Outgoing
}
//
- // These functions allow this object to be reused, rather than
- // reallocated.
+ // These functions allow this object to be reused, rather than reallocated.
//
public void
- reset(String operation, Ice.OperationMode mode, java.util.Map context)
+ reset(Reference ref, String operation, Ice.OperationMode mode, java.util.Map context, boolean compress)
throws NonRepeatable
{
+ _reference = ref;
_state = StateUnsent;
_exception = null;
+ _compress = compress;
writeHeader(operation, mode, context);
}