Stores IP Restriction data. More...
Public Member Functions | |
| IPData (const std::string &a_ipType, const Poco::Net::IPAddress &a_ipStart, const Poco::Net::IPAddress &a_ipEnd, uint32_bt a_allow) | |
| Ctor. | |
| ~IPData () | |
| Dtor. | |
| bool | isIPBlocked (const Poco::Net::IPAddress &a_ipAddress) |
| Returns whether the given IP is blocked. | |
| bool | isIPAllowed (const Poco::Net::IPAddress &a_ipAddress) |
| Returns whether the given IP is allowed. | |
| const std::string & | getIPType () const |
| Returns the IPType. | |
| Poco::Net::IPAddress | getIPStart () const |
| Returns the IPStart member. | |
| Poco::Net::IPAddress | getIPEnd () const |
| Returns the IPEnd member. | |
| uint32_bt | getAllowDeny () const |
| Returns whether this IP Data is set for allow or deny. | |
Stores IP Restriction data.
Internal Use Only
| Tonido::Data::IPData::IPData | ( | const std::string & | a_ipType, |
| const Poco::Net::IPAddress & | a_ipStart, | ||
| const Poco::Net::IPAddress & | a_ipEnd, | ||
| uint32_bt | a_allow | ||
| ) |
Ctor.
details if needed ...
| Tonido::Data::IPData::~IPData | ( | ) |
Dtor.
details if needed ...