summaryrefslogtreecommitdiff
path: root/server/componentVTP.h
blob: fe411ff616aeafd2006b0edcb0ee1e1f8feeb4d3 (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
27
28
29
/*
 *  $Id: componentVTP.h,v 1.1 2004/12/30 22:44:19 lordjaxom Exp $
 */
 
#ifndef VDR_STREAMDEV_SERVERS_SERVERVTP_H
#define VDR_STREAMDEV_SERVERS_SERVERVTP_H

#include "server/component.h"
#include "server/connectionVTP.h"

#include <tools/socket.h>
#include <tools/select.h>

class cComponentVTP: public cServerComponent {
private:
	cTBSocket m_Listen;

public:
	cComponentVTP(void);
	virtual ~cComponentVTP();

	virtual cServerConnection *NewConnection(void) const;
};

inline cServerConnection *cComponentVTP::NewConnection(void) const {
	return new cConnectionVTP;
}

#endif // VDR_STREAMDEV_SERVERS_SERVERVTP_H