summaryrefslogtreecommitdiff
path: root/anyrtpproxy/commandHandler.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-03-17 20:06:13 +0000
committerOthmar Gsenger <otti@anytun.org>2008-03-17 20:06:13 +0000
commitec2e3b3ff531daf579f5553096b5fa2284d44f08 (patch)
treead713a403d5b1540a31dcbfe72250d85e6d22b4a /anyrtpproxy/commandHandler.h
parentadded port window and port range options (diff)
added port window to command handler
Diffstat (limited to 'anyrtpproxy/commandHandler.h')
-rw-r--r--anyrtpproxy/commandHandler.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/anyrtpproxy/commandHandler.h b/anyrtpproxy/commandHandler.h
index 6e75bc4..97082ca 100644
--- a/anyrtpproxy/commandHandler.h
+++ b/anyrtpproxy/commandHandler.h
@@ -35,14 +35,15 @@
#include "../datatypes.h"
#include "../PracticalSocket.h"
#include "../syncQueue.h"
+#include "portWindow.h"
using std::string;
class CommandHandler
{
public:
- CommandHandler(SyncQueue& q, u_int16_t lp);
- CommandHandler(SyncQueue& q, string la, u_int16_t lp);
+ CommandHandler(SyncQueue& q, u_int16_t lp, PortWindow &);
+ CommandHandler(SyncQueue& q, string la, u_int16_t lp, PortWindow &);
~CommandHandler();
bool isRunning();
@@ -81,6 +82,7 @@ private:
UDPSocket control_sock_;
string local_address_;
u_int16_t local_port_;
+ PortWindow& port_window_;
};