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