summaryrefslogtreecommitdiff
path: root/src/lbtest.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lbtest.hh')
-rw-r--r--src/lbtest.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lbtest.hh b/src/lbtest.hh
index 208adaa..4463315 100644
--- a/src/lbtest.hh
+++ b/src/lbtest.hh
@@ -59,12 +59,15 @@ public:
virtual string
dump() = 0;
- int
+ virtual int
recv(LBHealth &health);
virtual string
name() = 0;
+ virtual string
+ status() {return _status_line;}
+
private:
int
receive(int recv_sock);
@@ -75,6 +78,8 @@ public:
string _target;
int _resp_time;
int _state;
+ string _status_line;
+
static int _recv_icmp_sock;
static int _send_raw_sock;