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
stringos
stringhostname
stringrelease
stringversion
stringmachine
stringnProcessors
intdataDir
string
Fields
dataDir
The path to the node data directory.
public string dataDir
Field Value
hostname
The network name of the host running this node.
public string hostname
Field Value
machine
The machine hardware type.
public string machine
Field Value
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
name
The name of the node.
public string name
Field Value
os
The operating system name.
public string os
Field Value
release
The operation system release level.
public string release
Field Value
version
The operation system version.
public string version
Field Value
Methods
ice_read(InputStream)
Unmarshals a value from an input stream.
public static NodeInfo ice_read(InputStream istr)
Parameters
istr
InputStreamThe 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
OutputStreamThe output stream.
v
NodeInfoThe value to marshal.