Remote Call Framework 3.1
IpClientTransport.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2019, 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.1
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18 
19 #ifndef INCLUDE_RCF_IPCLIENTTRANSPORT_HPP
20 #define INCLUDE_RCF_IPCLIENTTRANSPORT_HPP
21 
22 #include <RCF/Export.hpp>
23 #include <RCF/IpAddress.hpp>
24 
25 namespace RCF {
26 
28  class RCF_EXPORT IpClientTransport
29  {
30  public:
31  virtual ~IpClientTransport();
32 
34  IpAddress getLocalIp();
35 
37  void setLocalIp(const IpAddress & localIp);
38 
40  IpAddress getAssignedLocalIp();
41 
42  protected:
43  IpAddress mLocalIp;
44  IpAddress mAssignedLocalIp;
45  };
46 
47 } // namespace RCF
48 
49 #endif // ! INCLUDE_RCF_IPCLIENTTRANSPORT_HPP
Base class for IP-based client transports. Provides IP-related functionality.
Definition: IpClientTransport.hpp:28
Definition: AmiIoHandler.hpp:24
Represents an IP address (IPv4 or IPv6).
Definition: IpAddress.hpp:67