Class ApplicationDescriptor
- Namespace
- IceGrid
- Assembly
- IceGrid.dll
Describes an application.
public sealed record ApplicationDescriptor : IEquatable<ApplicationDescriptor>
- Inheritance
-
ApplicationDescriptor
- Implements
- Inherited Members
Remarks
The Slice compiler generated this record class from Slice struct ::IceGrid::ApplicationDescriptor.
Constructors
ApplicationDescriptor(InputStream)
Initializes a new instance of the ApplicationDescriptor class from an input stream.
public ApplicationDescriptor(InputStream istr)
Parameters
istrInputStream
ApplicationDescriptor(Dictionary<string, string>, ReplicaGroupDescriptor[], Dictionary<string, TemplateDescriptor>, Dictionary<string, TemplateDescriptor>, Dictionary<string, NodeDescriptor>, DistributionDescriptor, Dictionary<string, PropertySetDescriptor>)
Initializes a new instance of the ApplicationDescriptor class.
public ApplicationDescriptor(Dictionary<string, string> variables, ReplicaGroupDescriptor[] replicaGroups, Dictionary<string, TemplateDescriptor> serverTemplates, Dictionary<string, TemplateDescriptor> serviceTemplates, Dictionary<string, NodeDescriptor> nodes, DistributionDescriptor distrib, Dictionary<string, PropertySetDescriptor> propertySets)
Parameters
variablesDictionary<string, string>replicaGroupsReplicaGroupDescriptor[]serverTemplatesDictionary<string, TemplateDescriptor>serviceTemplatesDictionary<string, TemplateDescriptor>nodesDictionary<string, NodeDescriptor>distribDistributionDescriptorpropertySetsDictionary<string, PropertySetDescriptor>
ApplicationDescriptor(string, Dictionary<string, string>, ReplicaGroupDescriptor[], Dictionary<string, TemplateDescriptor>, Dictionary<string, TemplateDescriptor>, Dictionary<string, NodeDescriptor>, DistributionDescriptor, string, Dictionary<string, PropertySetDescriptor>)
Initializes a new instance of the ApplicationDescriptor class.
public ApplicationDescriptor(string name, Dictionary<string, string> variables, ReplicaGroupDescriptor[] replicaGroups, Dictionary<string, TemplateDescriptor> serverTemplates, Dictionary<string, TemplateDescriptor> serviceTemplates, Dictionary<string, NodeDescriptor> nodes, DistributionDescriptor distrib, string description, Dictionary<string, PropertySetDescriptor> propertySets)
Parameters
namestringvariablesDictionary<string, string>replicaGroupsReplicaGroupDescriptor[]serverTemplatesDictionary<string, TemplateDescriptor>serviceTemplatesDictionary<string, TemplateDescriptor>nodesDictionary<string, NodeDescriptor>distribDistributionDescriptordescriptionstringpropertySetsDictionary<string, PropertySetDescriptor>
Fields
description
The description of this application.
public string description
Field Value
distrib
The application distribution.
[Obsolete]
public DistributionDescriptor distrib
Field Value
name
The application name.
public string name
Field Value
nodes
The node descriptors.
public Dictionary<string, NodeDescriptor> nodes
Field Value
propertySets
Property set descriptors.
public Dictionary<string, PropertySetDescriptor> propertySets
Field Value
replicaGroups
The replica groups.
public ReplicaGroupDescriptor[] replicaGroups
Field Value
serverTemplates
The server templates.
public Dictionary<string, TemplateDescriptor> serverTemplates
Field Value
serviceTemplates
The service templates.
public Dictionary<string, TemplateDescriptor> serviceTemplates
Field Value
variables
The variables defined in the application descriptor.
public Dictionary<string, string> variables
Field Value
Methods
ice_read(InputStream)
Unmarshals a value from an input stream.
public static ApplicationDescriptor ice_read(InputStream istr)
Parameters
istrInputStreamThe input stream.
Returns
- ApplicationDescriptor
The unmarshaled value.
ice_write(OutputStream, ApplicationDescriptor)
Marshals a value into an output stream.
public static void ice_write(OutputStream ostr, ApplicationDescriptor v)
Parameters
ostrOutputStreamThe output stream.
vApplicationDescriptorThe value to marshal.