Ice 3.7 Slice API Reference
Loading...
Searching...
No Matches
Plugin.ice
Go to the documentation of this file.
1
2//
3// Copyright (c) ZeroC, Inc. All rights reserved.
4//
5
6#pragma once
7
8[["cpp:dll-export:ICE_API"]]
9[["cpp:doxygen:include:Ice/Ice.h"]]
10[["cpp:header-ext:h"]]
11
12[["ice-prefix"]]
13
14[["js:module:ice"]]
15[["js:cjs-module"]]
16
17[["objc:dll-export:ICE_API"]]
18[["objc:header-dir:objc"]]
19
20[["python:pkgdir:Ice"]]
21
22#include <Ice/LoggerF.ice>
24
25#ifndef __SLICE2JAVA_COMPAT__
26[["java:package:com.zeroc"]]
27#endif
28
29["objc:prefix:ICE"]
30module Ice
31{
32
33#if !defined(__SLICE2PHP__)
44local interface Plugin
45{
51 void initialize();
52
58 void destroy();
59}
60
67local interface PluginManager
68{
83
93 ["cpp:noexcept", "swift:noexcept"] StringSeq getPlugins();
94
106 Plugin getPlugin(string name);
107
119 void addPlugin(string name, Plugin pi);
120
126 ["cpp:noexcept", "swift:noexcept"] void destroy();
127}
128
129#endif
130
131}
Each communicator has a plug-in manager to administer the set of plug-ins.
Definition Plugin.ice:68
void initializePlugins()
Initialize the configured plug-ins.
Plugin getPlugin(string name)
Obtain a plug-in by name.
void addPlugin(string name, Plugin pi)
Install a new plug-in.
void destroy()
Called when the communicator is being destroyed.
StringSeq getPlugins()
Get a list of plugins installed.
A communicator plug-in.
Definition Plugin.ice:45
void initialize()
Perform any necessary initialization steps.
void destroy()
Called when the communicator is being destroyed.
The Ice core library.
Definition BuiltinSequences.ice:27
sequence< string > StringSeq
A sequence of strings.
Definition BuiltinSequences.ice:51