-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhttpnode.cc
39 lines (31 loc) · 1.01 KB
/
httpnode.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include "httpnode.h"
namespace AdGraphAPI
{
HTTPNode::HTTPNode(std::string id,
bool script_is_active,
std::string active_script_id,
std::string url,
bool ad,
std::string requestor_id) : Node(id),
script_is_active_(script_is_active),
active_script_id_(active_script_id),
url_(url),
ad_(ad),
requestor_id_(requestor_id){}
std::string HTTPNode::GetURL()
{
return url_;
}
bool HTTPNode::GetScriptIsActiveStatus(){
return script_is_active_;
}
std::string HTTPNode::GetActiveScriptId(){
return active_script_id_;
}
std::string HTTPNode::GetRequestorId(){
return requestor_id_;
}
bool HTTPNode::GetAd(){
return ad_;
}
} // namespace AdGraphAPI