LogService
libdadi: utility tools for distributed applications
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
src
utils
ORBTools.hh
1
/****************************************************************************/
2
/* A class for putting some ORB functions together - HEADER */
3
/* */
4
/* Author(s): */
5
/* - Georg Hoesch (hoesch@in.tum.de) */
6
/* - Cyrille Pontvieux (cyrille.pontvieux@edu.univ-fcomte.fr) */
7
/* */
8
/* This file is part of DIET . */
9
/* */
10
/* Copyright (C) 2000-2003 ENS Lyon, LIFC, INSA, INRIA and SysFera (2000) */
11
/* */
12
/* - Frederic.Desprez@ens-lyon.fr (Project Manager) */
13
/* - Eddy.Caron@ens-lyon.fr (Technical Manager) */
14
/* - Tech@sysfera.com (Maintainer and Technical Support) */
15
/* */
16
/* This software is a computer program whose purpose is to provide an */
17
/* distributed logging services. */
18
/* */
19
/* */
20
/* This software is governed by the CeCILL license under French law and */
21
/* abiding by the rules of distribution of free software. You can use, */
22
/* modify and/ or redistribute the software under the terms of the CeCILL */
23
/* license as circulated by CEA, CNRS and INRIA at the following URL */
24
/* "http://www.cecill.info". */
25
/* */
26
/* As a counterpart to the access to the source code and rights to copy, */
27
/* modify and redistribute granted by the license, users are provided */
28
/* only with a limited warranty and the software's author, the holder */
29
/* of the economic rights, and the successive licensors have only */
30
/* limited liability. */
31
/* */
32
/* In this respect, the user's attention is drawn to the risks */
33
/* associated with loading, using, modifying and/or developing or */
34
/* reproducing the software by the user in light of its specific status */
35
/* of free software, that may mean that it is complicated to */
36
/* manipulate, and that also therefore means that it is reserved for */
37
/* developers and experienced professionals having in-depth computer */
38
/* knowledge. Users are therefore encouraged to load and test the */
39
/* software's suitability as regards their requirements in conditions */
40
/* enabling the security of their systems and/or data to be ensured and, */
41
/* more generally, to use and operate it in the same conditions as */
42
/* regards security. */
43
/* */
44
/* The fact that you are presently reading this means that you have had */
45
/* knowledge of the CeCILL license and that you accept its terms. */
46
/* */
47
/****************************************************************************/
48
/* $Id$
49
* $Log$
50
* Revision 1.1 2004/01/09 11:07:12 ghoesch
51
* Restructured the whole LogService source tree.
52
* Added autotools make process. Cleaned up code.
53
* Removed some testers. Ready to release.
54
*
55
****************************************************************************/
56
57
#ifndef _ORBTOOLS_HH_
58
#define _ORBTOOLS_HH_
59
60
#include "LogTypes.hh"
61
62
class
ORBTools
{
63
public
:
71
static
72
bool
73
init
(
int
argc,
char
** argv);
74
83
static
84
bool
85
init
(
int
argc,
char
** argv,
unsigned
int
tracelevel,
unsigned
int
port = 0);
86
92
static
93
bool
94
init
();
95
107
static
108
bool
109
registerServant
(
const
char
* contextName,
const
char
* contextKind,
110
const
char
* name,
const
char
* kind,
111
CORBA::Object* objref);
112
122
static
123
bool
124
registerServant
(
const
char
* name,
const
char
* kind,
125
CORBA::Object* objref);
126
133
static
134
bool
135
activateServant
(PortableServer::ServantBase*
object
);
136
142
static
143
bool
144
activatePOA
();
145
155
static
156
bool
157
unregisterServant
(
const
char
* contextName,
const
char
* contextKind,
158
const
char
* name,
const
char
* kind);
159
167
static
168
bool
169
unregisterServant
(
const
char
* name,
const
char
* kind);
170
182
static
183
bool
184
findServant
(
const
char
* contextName,
const
char
* contextKind,
185
const
char
* name,
const
char
* kind,
186
CORBA::Object*& objref);
187
197
static
198
bool
199
findServant
(
const
char
* name,
const
char
* kind,
200
CORBA::Object*& objref);
201
209
static
210
bool
211
listen
(
char
stopLowercase,
char
stopUppercase);
212
217
static
218
bool
219
kill
();
220
221
static
CORBA::ORB_var orb;
222
static
PortableServer::POA_var poa;
223
};
224
#endif
225
Generated on Wed Feb 13 2013 15:27:22 for LogService by
1.8.3.1