Remote Call Framework 3.2
Version.hpp
Go to the documentation of this file.
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2020, Delta V Software. All rights reserved.
6 // http://www.deltavsoft.com
7 //
8 // RCF is distributed under dual licenses - closed source or GPL.
9 // Consult your particular license for conditions of use.
10 //
11 // If you have not purchased a commercial license, you are using RCF
12 // under GPL terms.
13 //
14 // Version: 3.2
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18 
20 
21 #ifndef INCLUDE_RCF_VERSION_HPP
22 #define INCLUDE_RCF_VERSION_HPP
23 
24 #include <RCF/BuildVersion.hpp>
25 #include <RCF/Export.hpp>
26 
27 #include <cstdint>
28 
29 namespace RCF {
30 
31  // Runtime versioning.
32 
33  // legacy - version number 1
34 
35  // 2007-04-26 - version number 2
36  // Released in 0.9c
37 
38  // 2008-03-29 - version number 3
39  // - Using I_SessionObjectFactory instead of I_ObjectFactoryService for session object creation and deletion.
40  // Released in 0.9d
41 
42  // 2008-09-06 - version number 4
43  // - ByteBuffer compatible with std::vector etc.
44  // Released in 1.0
45 
46  // 2008-12-06 - version number 5
47  // - Pingback field in MethodInvocationRequest
48  // Released in 1.1
49 
50  // 2010-01-21 - version number 6
51  // - Archive version field in MethodInvocationRequest
52  // - Embedded version stamps in SF archives.
53  // - SF: Serialization of error arguments in RemoteException.
54  // Released in 1.2
55 
56  // 2010-03-20 - version number 7
57  // - User data fields in request and response headers
58  // Interim release (rev 1414).
59 
60  // 2010-03-30 - version number 8
61  // - Ping intervals between publishers and subscribers.
62  // - Byte reordering for fast vector serialization.
63  // - BSer: Serialization of error arguments in RemoteException.
64  // - Non-polymorphic marshaling of reference parameters
65  // - UTF-8 serialization of wstring (native as an option). Changes to request header.
66  // - BSer: remote exceptions serialized through raw pointer rather than auto_ptr.
67  // - Error response messages contain two custom args, rather than one.
68  // Released in 1.3
69 
70  // 2011-02-27 - version number 9
71  // - Only do non-polymorphic marshaling of reference parameters, if using SF and object caching is enabled for the marshaling type. Otherwise polymorphic marshaling, as in version 7 and earlier.
72  // - Optimize SF serialization of 32 bit integers < 128, to a single byte.
73  // Released in 1.3.1
74 
75  // 2012-01-13 - version number 10
76  // - Request and response headers include pointer tracking setting for SF archives.
77  // - SF archive metadata includes pointer tracking setting.
78 
79  // 2012-09-05 - version number 11
80  // - FileInfo serialization includes last-modified timestamp.
81 
82  // 2013-09-01 - version number 12
83  // - Request and response headers include out of band request and response.
84  // - Request of transport filters done through out of band message.
85 
86  // 2017-09-04 - version number 13
87  // - Serialization of fs::path changed to use wstring instead of string.
88  // - Serialization of RemoteException changed.
89 
90 
92  RCF_EXPORT std::uint32_t getMaxSupportedRuntimeVersion();
93 
95  RCF_EXPORT std::uint32_t getRuntimeVersion();
96 
98  RCF_EXPORT void setRuntimeVersion(std::uint32_t version);
99 
101  RCF_EXPORT std::uint32_t getArchiveVersion();
102 
104  RCF_EXPORT void setArchiveVersion(std::uint32_t version);
105 
106 } // namespace RCF
107 
108 #endif // ! INCLUDE_RCF_VERSION_HPP
RCF_EXPORT std::uint32_t getArchiveVersion()
Gets the RCF archive version number.
RCF_EXPORT void setArchiveVersion(std::uint32_t version)
Sets the RCF archive version number. Applies to all RCF clients and servers within the current proces...
RCF_EXPORT std::uint32_t getRuntimeVersion()
Gets the RCF runtime version number.
Definition: AmiIoHandler.hpp:24
RCF_EXPORT std::uint32_t getMaxSupportedRuntimeVersion()
Gets the maximum RCF runtime version number this RCF build supports.
RCF_EXPORT void setRuntimeVersion(std::uint32_t version)
Sets the RCF runtime version number. Applies to all RCF clients and servers within the current proces...