Initial commit of files
This commit is contained in:
52
include/libnet++/UdsDaemon.h
Normal file
52
include/libnet++/UdsDaemon.h
Normal file
@ -0,0 +1,52 @@
|
||||
//
|
||||
// TCP Daemon
|
||||
//
|
||||
|
||||
/* prevent multiple inclusions */
|
||||
#ifndef __UdsDaemon__
|
||||
#define __UdsDaemon__
|
||||
|
||||
/* includes *****************************************************************/
|
||||
|
||||
#include "Daemon.h"
|
||||
#include "UdsServer.h"
|
||||
|
||||
/* defines ******************************************************************/
|
||||
|
||||
/* macros *******************************************************************/
|
||||
|
||||
/* structs & typedefs *******************************************************/
|
||||
|
||||
/* c class definitions ******************************************************/
|
||||
|
||||
class UdsDaemon : public UdsServer, public Daemon {
|
||||
// public data
|
||||
public:
|
||||
|
||||
// protected data
|
||||
protected:
|
||||
|
||||
// private data
|
||||
private:
|
||||
|
||||
// static data
|
||||
|
||||
// public methods
|
||||
public:
|
||||
// constructors
|
||||
UdsDaemon();
|
||||
|
||||
// destructor
|
||||
virtual ~UdsDaemon();
|
||||
|
||||
// public methods
|
||||
int StartService(const char *f,int d=0,int c=0);
|
||||
int RunService(void);
|
||||
|
||||
// static methods
|
||||
|
||||
// private methods
|
||||
private:
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user