Rudiments
include
rudiments
serviceentry.h
1
// Copyright (c) 2003 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
threadmutex
Definition:
threadmutex.h:11
serviceentry
Definition:
serviceentry.h:11
Generated on Tue Sep 11 2018 11:36:51 for Rudiments by
1.8.13