diff options
author | Michi Henning <michi@zeroc.com> | 2003-03-03 06:24:23 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-03-03 06:24:23 +0000 |
commit | 5e8a973ee6753d30e5debba2399c1a541c38a766 (patch) | |
tree | 5e646a0a9290f382eb1f05221282a2ea55daa8e8 /java/src/IceInternal/Protocol.java | |
parent | Removed UDP endpoint versions (left over from testing). (diff) | |
download | ice-5e8a973ee6753d30e5debba2399c1a541c38a766.tar.bz2 ice-5e8a973ee6753d30e5debba2399c1a541c38a766.tar.xz ice-5e8a973ee6753d30e5debba2399c1a541c38a766.zip |
Backed out previous check-in -- didn't get a branch for some reason.
Diffstat (limited to 'java/src/IceInternal/Protocol.java')
-rw-r--r-- | java/src/IceInternal/Protocol.java | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/java/src/IceInternal/Protocol.java b/java/src/IceInternal/Protocol.java index 526c850da72..c38f47fc06c 100644 --- a/java/src/IceInternal/Protocol.java +++ b/java/src/IceInternal/Protocol.java @@ -19,23 +19,18 @@ final class Protocol // // Size of the Ice protocol header // - // Magic number (4 bytes): 'I', 'c', 'e', 'P' in ASCII encoding - // Protocol version major (Byte) - // Protocol version minor (Byte) - // Encoding version major (Byte) - // Encoding version minor (Byte) + // Protocol version (Byte) + // Encoding version (Byte) // Message type (Byte) // Message size (Int) // - final static int headerSize = 13; + final static int headerSize = 7; // // The current Ice protocol and encoding version // - final static byte protocolMajor = 1; - final static byte protocolMinor = 0; - final static byte encodingMajor = 1; - final static byte encodingMinor = 0; + final static byte protocolVersion = 0; + final static byte encodingVersion = 0; // // The Ice protocol message types |