Remote Call Framework 3.4
IpClientTransport.hpp
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 
18 #ifndef INCLUDE_RCF_IPCLIENTTRANSPORT_HPP
19 #define INCLUDE_RCF_IPCLIENTTRANSPORT_HPP
20 
21 #include <RCF/Export.hpp>
22 #include <RCF/IpAddress.hpp>
23 
24 namespace RCF {
25 
27  class RCF_EXPORT IpClientTransport
28  {
29  public:
30  virtual ~IpClientTransport();
31 
33  IpAddress getLocalIp();
34 
36  void setLocalIp(const IpAddress & localIp);
37 
39  IpAddress getAssignedLocalIp();
40 
41  protected:
42  IpAddress mLocalIp;
43  IpAddress mAssignedLocalIp;
44  };
45 
46 } // namespace RCF
47 
48 #endif // ! INCLUDE_RCF_IPCLIENTTRANSPORT_HPP
Base class for IP-based client transports. Provides IP-related functionality.
Definition: IpClientTransport.hpp:27
Definition: AmiIoHandler.hpp:23
Represents an IP address (IPv4 or IPv6).
Definition: IpAddress.hpp:66