RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Classes | Public Member Functions | Public Attributes
RTBKIT::BlacklistInfo Struct Reference

#include <blacklist.h>

List of all members.

Classes

struct  Entry

Public Member Functions

bool matches (const BidRequest &request, const std::string &agent, const AgentConfig &agentConfig) const
Date add (const BidRequest &bidRequest, const std::string &agent, const AgentConfig &agentConfig)
Date expire (Date now)

Public Attributes

std::vector< Entryentries
Date earliestExpiry

Detailed Description

For the given user, contains information on who has blacklisted them for how much time.

Definition at line 30 of file blacklist.h.


Member Function Documentation

Date RTBKIT::BlacklistInfo::add ( const BidRequest bidRequest,
const std::string &  agent,
const AgentConfig agentConfig 
)

Add the given entry to the blacklist. Returns Date() if the entry is not the earliest expiring entry, or the date of the new expiry if not.

Definition at line 15 of file blacklist.cc.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator