aboutsummaryrefslogtreecommitdiff
path: root/src/test/teltest/telnetmonitor.h
blob: 95c84936b809c7beacecb038d0301957400a55a9 (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 );
	bool onClosedConnection( Connection *pCon );

private:
	LinkedList lCon;
};

#endif