aboutsummaryrefslogtreecommitdiff
path: root/src/old/tests/teltest/telnetmonitor.h
blob: ba5761e033878571b4270e27d221f53871ad7fa9 (plain)
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
#ifndef HTTPCONNECTIONMONITOR_H
#define HTTPCONNECTIONMONITOR_H

#include "connectionmonitor.h"
#include "programlink.h"
#include "linkedlist.h"

class TelnetMonitor : public ConnectionMonitor, public ProgramLink
{
public:
	TelnetMonitor();
	~TelnetMonitor();
	
	bool init();
	bool deInit();
	bool timeSlice();
	LinkMessage* processIRM( LinkMessage *pMsgIn );
	
	bool onNewConnection( Connection *pCon, int nPort );
	bool onClosedConnection( Connection *pCon );

private:
	LinkedList lCon;
};

#endif