haiku/src/servers/net/PPPServer.h
Waldemar Kornewald 6e17c55acc Bye, bye, poor net_server. :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 18:17:18 +00:00

34 lines
664 B
C++

/*
* Copyright 2004-2005, Waldemar Kornewald <wkornew@gmx.net>
* Distributed under the terms of the MIT License.
*/
#ifndef _PPP_SERVER__H
#define _PPP_SERVER__H
#include <Handler.h>
#include <PPPInterfaceListener.h>
class PPPServer : public BHandler {
public:
PPPServer();
virtual ~PPPServer();
virtual void MessageReceived(BMessage *message);
// the SimpleMessageFilter routes ppp_server messages to this handler
private:
void InitInterfaces();
void UninitInterfaces();
void HandleReportMessage(BMessage *message);
void CreateConnectionRequestWindow(ppp_interface_id id);
private:
PPPInterfaceListener fListener;
};
#endif