Table of Contents

Class NodeInfo

Namespace
IceGrid
Assembly
IceGrid.dll

Information about an IceGrid node.

public sealed record NodeInfo : IEquatable<NodeInfo>
Inheritance
NodeInfo
Implements
Inherited Members

Remarks

The Slice compiler generated this record class from Slice struct ::IceGrid::NodeInfo.

Constructors

NodeInfo()

Initializes a new instance of the NodeInfo class.

public NodeInfo()

NodeInfo(InputStream)

Initializes a new instance of the NodeInfo class from an input stream.

public NodeInfo(InputStream istr)

Parameters

istr InputStream

NodeInfo(string, string, string, string, string, string, int, string)

Initializes a new instance of the NodeInfo class.

public NodeInfo(string name, string os, string hostname, string release, string version, string machine, int nProcessors, string dataDir)

Parameters

name string
os string
hostname string
release string
version string
machine string
nProcessors int
dataDir string

Fields

dataDir

The path to the node data directory.

public string dataDir

Field Value

string

hostname

The network name of the host running this node.

public string hostname

Field Value

string

machine

The machine hardware type.

public string machine

Field Value

string

nProcessors

The number of processor threads on the node. For example, nProcessors is 8 on a computer with a single quad-core processor and two threads per core.

public int nProcessors

Field Value

int

name

The name of the node.

public string name

Field Value

string

os

The operating system name.

public string os

Field Value

string

release

The operation system release level.

public string release

Field Value

string

version

The operation system version.

public string version

Field Value

string

Methods

ice_read(InputStream)

Unmarshals a value from an input stream.

public static NodeInfo ice_read(InputStream istr)

Parameters

istr InputStream

The input stream.

Returns

NodeInfo

The unmarshaled value.

ice_write(OutputStream, NodeInfo)

Marshals a value into an output stream.

public static void ice_write(OutputStream ostr, NodeInfo v)

Parameters

ostr OutputStream

The output stream.

v NodeInfo

The value to marshal.