summaryrefslogtreecommitdiffstats
path: root/client/red_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/red_client.h')
-rw-r--r--client/red_client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/red_client.h b/client/red_client.h
index 7f5b5896..17391e49 100644
--- a/client/red_client.h
+++ b/client/red_client.h
@@ -114,8 +114,14 @@ public:
}
};
+class RedClient;
+
class AgentTimer: public Timer {
+public:
virtual void response(AbstractProcessLoop& events_loop);
+ AgentTimer(RedClient *client) : _client(client) {};
+private:
+ RedClient *_client;
};
typedef std::map< int, RedPeer::ConnectionOptions::Type> PeerConnectionOptMap;