This class provides read-only access to the assigments of IP addresses to IP groups.
Definition at line 74 of file ipassignment.h.
typedef std::vector<Entry> OSB_LIB::IpAssignments::Entries |
const Entries OSB_LIB::IpAssignments::entries | ( | ) | const |
Read access to all entries.
const Entry* OSB_LIB::IpAssignments::find | ( | const std::string & | ip, | |
IpGroup::Direction | dir, | |||
const DateTime & | ts | |||
) | const |
Find the assignment of an IP address for a timestamp.
ip | IP 4 or 6 address. | |
dir | Direction of the traffic to search for. | |
ts | Timestamp to search for. |
void OSB_LIB::IpAssignments::read | ( | const OSB_DB::Session & | session | ) |
Read all entries from the database.
friend class OSB_DB::IpAssignmentGw [friend] |
Definition at line 75 of file ipassignment.h.
Entries OSB_LIB::IpAssignments::entries_ [private] |