summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/Protocol.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-03-14 22:53:03 +0000
committerMark Spruiell <mes@zeroc.com>2003-03-14 22:53:03 +0000
commit8da44c34ac9a2b7efa6b62da46e4136647fcc570 (patch)
tree4057933ee1b6af0f395a482c5c8ace56ddc12e20 /java/src/IceInternal/Protocol.java
parentbug fix (diff)
downloadice-8da44c34ac9a2b7efa6b62da46e4136647fcc570.tar.bz2
ice-8da44c34ac9a2b7efa6b62da46e4136647fcc570.tar.xz
ice-8da44c34ac9a2b7efa6b62da46e4136647fcc570.zip
remove compressed message types; modify message header to include
compression status
Diffstat (limited to 'java/src/IceInternal/Protocol.java')
-rw-r--r--java/src/IceInternal/Protocol.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/java/src/IceInternal/Protocol.java b/java/src/IceInternal/Protocol.java
index 35a9c57a702..b39ca8d48f9 100644
--- a/java/src/IceInternal/Protocol.java
+++ b/java/src/IceInternal/Protocol.java
@@ -25,9 +25,10 @@ final class Protocol
// Encoding version major (Byte)
// Encoding version minor (Byte)
// Message type (Byte)
+ // Compression status (Byte)
// Message size (Int)
//
- final static int headerSize = 13;
+ final static int headerSize = 14;
//
// The magic number at the front of each message
@@ -50,7 +51,4 @@ final class Protocol
final static byte replyMsg = 2;
final static byte validateConnectionMsg = 3;
final static byte closeConnectionMsg = 4;
- final static byte compressedRequestMsg = 5;
- final static byte compressedRequestBatchMsg = 6;
- final static byte compressedReplyMsg = 7;
}