Ice
3.9
Slice API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
Ice
PropertiesAdmin.ice
1
// Copyright (c) ZeroC, Inc.
2
3
#pragma once
4
5
[[
"cpp:dll-export:ICE_API"
]]
6
[[
"cpp:doxygen:include:Ice/Ice.h"
]]
7
[[
"cpp:header-ext:h"
]]
8
9
[[
"js:module:@zeroc/ice"
]]
10
11
#include "PropertyDict.ice"
12
13
[
"java:identifier:com.zeroc.Ice"
]
14
module
Ice
15
{
16
/// Provides remote access to the properties of a communicator.
17
interface
PropertiesAdmin
18
{
19
/// Gets a property by key.
20
/// @param key The property key.
21
/// @return The property value. This value is empty if the property is not set.
22
string
getProperty
(
string
key);
23
24
/// Gets all properties whose keys begin with @p prefix. If @p prefix is the empty string then all properties
25
/// are returned.
26
/// @param prefix The prefix to search for. May be empty.
27
/// @return The matching property set.
28
[
"java:type:java.util.TreeMap<String, String>"
]
PropertyDict
getPropertiesForPrefix
(
string
prefix);
29
30
/// Updates the communicator's properties with the given property set. If an entry in @p newProperties matches
31
/// the name of an existing property, that property's value is replaced with the new value. If the new value is
32
/// the empty string, the property is removed. Existing properties that are not modified or removed by the
33
/// entries in @p newProperties are not affected by this update.
34
/// @param newProperties Properties to add, change, or remove.
35
void
setProperties
(
PropertyDict
newProperties);
36
}
37
}
Ice::PropertiesAdmin::getPropertiesForPrefix
PropertyDict getPropertiesForPrefix(string prefix)
Gets all properties whose keys begin with prefix.
Ice::PropertiesAdmin::getProperty
string getProperty(string key)
Gets a property by key.
Ice::PropertiesAdmin::setProperties
void setProperties(PropertyDict newProperties)
Updates the communicator's properties with the given property set.
Ice::PropertiesAdmin
Provides remote access to the properties of a communicator.
Definition
PropertiesAdmin.ice:18
Ice::PropertyDict
dictionary< string, string > PropertyDict
A simple collection of properties, represented as a dictionary of key/value pairs.
Definition
PropertyDict.ice:22
Ice
The Ice RPC framework.
Definition
BuiltinSequences.ice:23
Generated by
1.17.0