From ec2e3b3ff531daf579f5553096b5fa2284d44f08 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Mon, 17 Mar 2008 20:06:13 +0000 Subject: added port window to command handler --- anyrtpproxy/commandHandler.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'anyrtpproxy/commandHandler.h') 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_; }; -- cgit v1.2.3