* Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36137 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -45,34 +45,39 @@ typedef std::map<std::string, AutoconfigLooper*> LooperMap;
|
|||||||
|
|
||||||
|
|
||||||
class NetServer : public BServer {
|
class NetServer : public BServer {
|
||||||
public:
|
public:
|
||||||
NetServer(status_t& status);
|
NetServer(status_t& status);
|
||||||
virtual ~NetServer();
|
virtual ~NetServer();
|
||||||
|
|
||||||
virtual void AboutRequested();
|
virtual void AboutRequested();
|
||||||
virtual void ReadyToRun();
|
virtual void ReadyToRun();
|
||||||
virtual void MessageReceived(BMessage* message);
|
virtual void MessageReceived(BMessage* message);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool _IsValidInterface(int socket, const char* name);
|
bool _IsValidInterface(int socket, const char* name);
|
||||||
void _RemoveInvalidInterfaces(int socket);
|
void _RemoveInvalidInterfaces(int socket);
|
||||||
bool _TestForInterface(int socket, const char* name);
|
bool _TestForInterface(int socket, const char* name);
|
||||||
status_t _ConfigureInterface(int socket, BMessage& interface,
|
status_t _ConfigureInterface(int socket,
|
||||||
bool fromMessage = false);
|
BMessage& interface,
|
||||||
status_t _ConfigureResolver(BMessage& resolverConfiguration);
|
bool fromMessage = false);
|
||||||
bool _QuitLooperForDevice(const char* device);
|
status_t _ConfigureResolver(
|
||||||
AutoconfigLooper* _LooperForDevice(const char* device);
|
BMessage& resolverConfiguration);
|
||||||
status_t _ConfigureDevice(int socket, const char* path);
|
bool _QuitLooperForDevice(const char* device);
|
||||||
void _ConfigureDevices(int socket, const char* path,
|
AutoconfigLooper* _LooperForDevice(const char* device);
|
||||||
BMessage* suggestedInterface = NULL);
|
status_t _ConfigureDevice(int socket, const char* path);
|
||||||
void _ConfigureInterfaces(int socket, BMessage* _missingDevice = NULL);
|
void _ConfigureDevices(int socket, const char* path,
|
||||||
void _BringUpInterfaces();
|
BMessage* suggestedInterface = NULL);
|
||||||
void _StartServices();
|
void _ConfigureInterfaces(int socket,
|
||||||
void _HandleDeviceMonitor(int socket, BMessage* message);
|
BMessage* _missingDevice = NULL);
|
||||||
|
void _BringUpInterfaces();
|
||||||
|
void _StartServices();
|
||||||
|
void _HandleDeviceMonitor(int socket,
|
||||||
|
BMessage* message);
|
||||||
|
|
||||||
Settings fSettings;
|
private:
|
||||||
LooperMap fDeviceMap;
|
Settings fSettings;
|
||||||
BMessenger fServices;
|
LooperMap fDeviceMap;
|
||||||
|
BMessenger fServices;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user