Rudiments: /home/dmuse/temp/rudiments/include/rudiments/serviceentry.h Source File

Rudiments

serviceentry.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_SERVICEENTRY_H
5 #define RUDIMENTS_SERVICEENTRY_H
6
7 #include <rudiments/private/serviceentryincludes.h>
8
11 class RUDIMENTS_DLLSPEC serviceentry {
12 public:
13
15 serviceentry();
16
19 serviceentry(const serviceentry &s);
20
23 serviceentry &operator=(const serviceentry &s);
24
26 ~serviceentry();
27
31 bool initialize(const char *servicename,
32 const char *protocol);
33
38 bool initialize(int32_t port, const char *protocol);
39
41 const char *getName() const;
42
45 int32_t getPort() const;
46
49 const char *getProtocol() const;
50
53 const char * const * getAliasList() const;
54
61 static int32_t getPort(const char *servicename,
62 const char *protocol);
63
75 static char *getName(int32_t port,
76 const char *protocol);
77
80 static bool needsMutex();
81
85 static void setMutex(threadmutex *mtx);
86
87 #include <rudiments/private/serviceentry.h>
88 };
89
90 #endif
serviceentry
Definition: serviceentry.h:11
serviceentry::getAliasList
const char *const * getAliasList() const
serviceentry::setMutex
static void setMutex(threadmutex *mtx)
serviceentry::getPort
int32_t getPort() const
serviceentry::getPort
static int32_t getPort(const char *servicename, const char *protocol)
serviceentry::operator=
serviceentry & operator=(const serviceentry &s)
serviceentry::initialize
bool initialize(int32_t port, const char *protocol)
serviceentry::needsMutex
static bool needsMutex()
serviceentry::serviceentry
serviceentry()
serviceentry::initialize
bool initialize(const char *servicename, const char *protocol)
serviceentry::~serviceentry
~serviceentry()
serviceentry::getName
static char * getName(int32_t port, const char *protocol)
serviceentry::serviceentry
serviceentry(const serviceentry &s)
serviceentry::getProtocol
const char * getProtocol() const
serviceentry::getName
const char * getName() const
threadmutex
Definition: threadmutex.h:11