diff options
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 |