diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-03-15 15:22:00 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-03-15 15:22:00 +0000 |
commit | c95ae50506d66315810e6b1501aa7f4eaee3018e (patch) | |
tree | 82c050368f94054f9b6b3a03982a9567f6aad337 /cpp/src/Ice/Protocol.h | |
parent | Fixed removeAdapter to not throw, bug 865 (diff) | |
download | ice-c95ae50506d66315810e6b1501aa7f4eaee3018e.tar.bz2 ice-c95ae50506d66315810e6b1501aa7f4eaee3018e.tar.xz ice-c95ae50506d66315810e6b1501aa7f4eaee3018e.zip |
Performance improvements, mainly inlining
Diffstat (limited to 'cpp/src/Ice/Protocol.h')
-rw-r--r-- | cpp/src/Ice/Protocol.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/cpp/src/Ice/Protocol.h b/cpp/src/Ice/Protocol.h deleted file mode 100644 index 99499fb56f3..00000000000 --- a/cpp/src/Ice/Protocol.h +++ /dev/null @@ -1,63 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#ifndef ICE_PROTOCOL_H -#define ICE_PROTOCOL_H - -#include <Ice/Config.h> - -namespace IceInternal -{ - -// -// Size of the Ice protocol header -// -// Magic number (4 Bytes) -// Protocol version major (Byte) -// Protocol version minor (Byte) -// Encoding version major (Byte) -// Encoding version minor (Byte) -// Message type (Byte) -// Compression status (Byte) -// Message size (Int) -// -const ::Ice::Int headerSize = 14; - -// -// The magic number at the front of each message -// -extern const ::Ice::Byte magic[4]; - -// -// The current Ice protocol and encoding version -// -const ::Ice::Byte protocolMajor = 1; -const ::Ice::Byte protocolMinor = 0; -const ::Ice::Byte encodingMajor = 1; -const ::Ice::Byte encodingMinor = 0; - -// -// The Ice protocol message types -// -const ::Ice::Byte requestMsg = 0; -const ::Ice::Byte requestBatchMsg = 1; -const ::Ice::Byte replyMsg = 2; -const ::Ice::Byte validateConnectionMsg = 3; -const ::Ice::Byte closeConnectionMsg = 4; - -// -// The request header, batch request header and reply header. -// -extern const ::Ice::Byte requestHdr[headerSize + sizeof(Ice::Int)]; -extern const ::Ice::Byte requestBatchHdr[headerSize + sizeof(Ice::Int)]; -extern const ::Ice::Byte replyHdr[headerSize]; - -} - -#endif |