1/*
2 * Copyright 2004-2005, Waldemar Kornewald <wkornew@gmx.net>
3 * Distributed under the terms of the MIT License.
4 */
5
6#ifndef _PPP_SERVER__H
7#define _PPP_SERVER__H
8
9#include <Handler.h>
10#include <PPPInterfaceListener.h>
11
12
13class PPPServer : public BHandler {
14	public:
15		PPPServer();
16		virtual ~PPPServer();
17
18		virtual void MessageReceived(BMessage *message);
19			// the SimpleMessageFilter routes ppp_server messages to this handler
20
21	private:
22		void InitInterfaces();
23		void UninitInterfaces();
24
25		void HandleReportMessage(BMessage *message);
26		void CreateConnectionRequestWindow(ppp_interface_id id);
27
28	private:
29		PPPInterfaceListener fListener;
30};
31
32
33#endif
34