blob: 68796df1ff8a4dec8bae85f9b844cfbc01844820 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
// **********************************************************************
//
// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
#ifndef ICE_LOGGER_ADMIN_I_H
#define ICE_LOGGER_ADMIN_I_H
#include <Ice/Config.h>
#include <Ice/Logger.h>
#include <Ice/PropertiesF.h>
#include <Ice/CommunicatorF.h>
namespace IceInternal
{
//
// A logger that works in tandem with a "Logger" admin facet.
//
class LoggerAdminLogger : public Ice::Logger
{
public:
//
// Return the associated Admin facet
//
virtual Ice::ObjectPtr getFacet() const = 0;
//
// Destroy this logger, in particular join any thread
// that this logger may have started
//
virtual void destroy() = 0;
};
ICE_DEFINE_PTR(LoggerAdminLoggerPtr, LoggerAdminLogger);
LoggerAdminLoggerPtr
createLoggerAdminLogger(const Ice::PropertiesPtr&, const Ice::LoggerPtr&);
}
#endif
|