Remote Call Framework 3.4
RCF::IpServerTransport Class Referenceabstract

Base class for IP-based server transports. Provides IP-related functionality. More...

#include <IpServerTransport.hpp>

Inherited by RCF::TcpServerTransport, and RCF::UdpServerTransport.

Public Member Functions

void setAllowIps (const std::vector< IpRule > &allowIps)
 Sets IP rules to allow connections from certain IP ranges. More...
 
void setDenyIps (const std::vector< IpRule > &denyIps)
 Sets IP rules to deny connections from certain IP ranges. More...
 
std::vector< IpRulegetAllowIps () const
 Returns the IP rules set for allowing connections. More...
 
std::vector< IpRulegetDenyIps () const
 Returns the IP rules set for denying connections. More...
 
virtual int getPort () const =0
 Returns the port number the IP-based server transport is listening on. More...
 

Detailed Description

Base class for IP-based server transports. Provides IP-related functionality.

Member Function Documentation

◆ setAllowIps()

void RCF::IpServerTransport::setAllowIps ( const std::vector< IpRule > &  allowIps)

Sets IP rules to allow connections from certain IP ranges.

◆ setDenyIps()

void RCF::IpServerTransport::setDenyIps ( const std::vector< IpRule > &  denyIps)

Sets IP rules to deny connections from certain IP ranges.

◆ getAllowIps()

std::vector<IpRule> RCF::IpServerTransport::getAllowIps ( ) const

Returns the IP rules set for allowing connections.

◆ getDenyIps()

std::vector<IpRule> RCF::IpServerTransport::getDenyIps ( ) const

Returns the IP rules set for denying connections.

◆ getPort()

virtual int RCF::IpServerTransport::getPort ( ) const
pure virtual

Returns the port number the IP-based server transport is listening on.


The documentation for this class was generated from the following file: