Public Member Functions
Tonido::Data::IPData Class Reference

Stores IP Restriction data. More...

List of all members.

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.

Detailed Description

Stores IP Restriction data.

Internal Use Only


Constructor & Destructor Documentation

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 ...


Generated on Wed Oct 12 2011 21:46:53. © CodeLathe LLC 2007-2011. All Rights Reserved.