blob: 1b34b22840c6058cb499169e559b30da8228cc9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// **********************************************************************
//
// Copyright (c) 2001
// MutableRealms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************
package IceInternal;
final class Protocol
{
//
// Size of the Ice protocol header
//
// Protocol version (Byte)
// Encoding version (Byte)
// Message type (Byte)
// Message size (Int)
//
final static int headerSize = 7;
//
// The current Ice protocol and encoding version
//
final static byte protocolVersion = 0;
final static byte encodingVersion = 0;
//
// The Ice protocol message types
//
final static byte requestMsg = 0;
final static byte requestBatchMsg = 1;
final static byte replyMsg = 2;
final static byte closeConnectionMsg = 3;
final static byte compressedRequestMsg = 4;
final static byte compressedRequestBatchMsg = 5;
final static byte compressedReplyMsg = 6;
}
|