RCFProto

- Main Page
- Classes
- Files

- File List

All Classes Functions Typedefs
IpClientTransport.hpp
1
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2013, 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: 2.0
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18
19 #ifndef INCLUDE_RCF_IPCLIENTTRANSPORT_HPP
20 #define INCLUDE_RCF_IPCLIENTTRANSPORT_HPP
21
22 #include <string>
23
24 #include <RCF/Export.hpp>
25 #include <RCF/IpAddress.hpp>
26
27 namespace RCF {
28
29 class RCF_EXPORT IpClientTransport
30 {
31 public:
32 virtual ~IpClientTransport();
33
34 IpAddress getLocalIp();
35 void setLocalIp(const IpAddress & localIp);
36
37 IpAddress getAssignedLocalIp();
38
39 protected:
40 IpAddress mLocalIp;
41 IpAddress mAssignedLocalIp;
42 };
43
44 } // namespace RCF
45
46 #endif // ! INCLUDE_RCF_IPCLIENTTRANSPORT_HPP