Table of Contents

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

istr InputStream

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

variables Dictionary<string, string>
replicaGroups ReplicaGroupDescriptor[]
serverTemplates Dictionary<string, TemplateDescriptor>
serviceTemplates Dictionary<string, TemplateDescriptor>
nodes Dictionary<string, NodeDescriptor>
distrib DistributionDescriptor
propertySets Dictionary<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

name string
variables Dictionary<string, string>
replicaGroups ReplicaGroupDescriptor[]
serverTemplates Dictionary<string, TemplateDescriptor>
serviceTemplates Dictionary<string, TemplateDescriptor>
nodes Dictionary<string, NodeDescriptor>
distrib DistributionDescriptor
description string
propertySets Dictionary<string, PropertySetDescriptor>

Fields

description

The description of this application.

public string description

Field Value

string

distrib

The application distribution.

[Obsolete]
public DistributionDescriptor distrib

Field Value

DistributionDescriptor

name

The application name.

public string name

Field Value

string

nodes

The node descriptors.

public Dictionary<string, NodeDescriptor> nodes

Field Value

Dictionary<string, NodeDescriptor>

propertySets

Property set descriptors.

public Dictionary<string, PropertySetDescriptor> propertySets

Field Value

Dictionary<string, PropertySetDescriptor>

replicaGroups

The replica groups.

public ReplicaGroupDescriptor[] replicaGroups

Field Value

ReplicaGroupDescriptor[]

serverTemplates

The server templates.

public Dictionary<string, TemplateDescriptor> serverTemplates

Field Value

Dictionary<string, TemplateDescriptor>

serviceTemplates

The service templates.

public Dictionary<string, TemplateDescriptor> serviceTemplates

Field Value

Dictionary<string, TemplateDescriptor>

variables

The variables defined in the application descriptor.

public Dictionary<string, string> variables

Field Value

Dictionary<string, string>

Methods

ice_read(InputStream)

Unmarshals a value from an input stream.

public static ApplicationDescriptor ice_read(InputStream istr)

Parameters

istr InputStream

The 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

ostr OutputStream

The output stream.

v ApplicationDescriptor

The value to marshal.