Class ServerInfo
- Namespace
- IceGrid
- Assembly
- IceGrid.dll
Information about a server managed by an IceGrid node.
public sealed record ServerInfo : IEquatable<ServerInfo>
- Inheritance
-
ServerInfo
- Implements
- Inherited Members
Remarks
The Slice compiler generated this record class from Slice struct ::IceGrid::ServerInfo.
Constructors
ServerInfo()
Initializes a new instance of the ServerInfo class.
public ServerInfo()
ServerInfo(InputStream)
Initializes a new instance of the ServerInfo class from an input stream.
public ServerInfo(InputStream istr)
Parameters
istrInputStream
ServerInfo(string, string, int, string, ServerDescriptor?, string)
Initializes a new instance of the ServerInfo class.
public ServerInfo(string application, string uuid, int revision, string node, ServerDescriptor? descriptor, string sessionId)
Parameters
applicationstringuuidstringrevisionintnodestringdescriptorServerDescriptorsessionIdstring
Fields
application
The application to which this server belongs.
public string application
Field Value
descriptor
The server descriptor.
public ServerDescriptor? descriptor
Field Value
node
The IceGrid node where this server is deployed.
public string node
Field Value
revision
The application revision.
public int revision
Field Value
sessionId
The ID of the session which allocated the server.
public string sessionId
Field Value
uuid
The application UUID.
public string uuid
Field Value
Methods
ice_read(InputStream)
Unmarshals a value from an input stream.
public static ServerInfo ice_read(InputStream istr)
Parameters
istrInputStreamThe input stream.
Returns
- ServerInfo
The unmarshaled value.
ice_write(OutputStream, ServerInfo)
Marshals a value into an output stream.
public static void ice_write(OutputStream ostr, ServerInfo v)
Parameters
ostrOutputStreamThe output stream.
vServerInfoThe value to marshal.