Ice
3.9
Slice API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
IceGrid
FileParser.ice
1
// Copyright (c) ZeroC, Inc.
2
3
#pragma once
4
5
[[
"cpp:dll-export:ICEGRID_API"
]]
6
[[
"cpp:doxygen:include:IceGrid/IceGrid.h"
]]
7
[[
"cpp:header-ext:h"
]]
8
9
[[
"cpp:include:IceGrid/Config.h"
]]
10
11
[[
"js:module:@zeroc/ice"
]]
12
13
#include "Admin.ice"
14
15
[
"java:identifier:com.zeroc.IceGrid"
]
16
module
IceGrid
17
{
18
/// The exception that is thrown when an error occurs during the parsing of an IceGrid XML file.
19
exception
ParseException
20
{
21
/// The reason for the failure.
22
string
reason
;
23
}
24
25
/// `icegridadmin` provides a `FileParser` object to transform XML files into {@link ApplicationDescriptor} objects.
26
interface
FileParser
27
{
28
/// Parses a file.
29
/// @param xmlFile The full path to the file.
30
/// @param adminProxy An {@link Admin} proxy, used only to retrieve default templates when needed. May be null.
31
/// @return The application descriptor.
32
/// @throws ParseException Thrown when an error occurs during parsing.
33
idempotent
ApplicationDescriptor
parse
(
string
xmlFile,
Admin
* adminProxy)
34
throws
ParseException
;
35
}
36
}
IceGrid::ParseException::reason
string reason
The reason for the failure.
Definition
FileParser.ice:22
IceGrid::ParseException
The exception that is thrown when an error occurs during the parsing of an IceGrid XML file.
Definition
FileParser.ice:20
IceGrid::Admin
Provides administrative access to an IceGrid deployment.
Definition
Admin.ice:283
IceGrid::FileParser::parse
idempotent ApplicationDescriptor parse(string xmlFile, Admin *adminProxy)
Parses a file.
IceGrid::FileParser
icegridadmin provides a FileParser object to transform XML files into ApplicationDescriptor objects.
Definition
FileParser.ice:27
IceGrid
Deploy and manage Ice servers.
Definition
Admin.ice:21
IceGrid::ApplicationDescriptor
Describes an application.
Definition
Descriptor.ice:380
Generated by
1.17.0