Class ServerDynamicInfo
- Namespace
- IceGrid
- Assembly
- IceGrid.dll
Dynamic information about the state of a server.
public sealed record ServerDynamicInfo : IEquatable<ServerDynamicInfo>
- Inheritance
-
ServerDynamicInfo
- Implements
- Inherited Members
Remarks
The Slice compiler generated this record class from Slice struct ::IceGrid::ServerDynamicInfo.
Constructors
ServerDynamicInfo()
Initializes a new instance of the ServerDynamicInfo class.
public ServerDynamicInfo()
ServerDynamicInfo(InputStream)
Initializes a new instance of the ServerDynamicInfo class from an input stream.
public ServerDynamicInfo(InputStream istr)
Parameters
istrInputStream
ServerDynamicInfo(string, ServerState, int, bool)
Initializes a new instance of the ServerDynamicInfo class.
public ServerDynamicInfo(string id, ServerState state, int pid, bool enabled)
Parameters
idstringstateServerStatepidintenabledbool
Fields
enabled
Indicates whether the server is enabled.
public bool enabled
Field Value
id
The ID of the server.
public string id
Field Value
pid
The process ID of the server.
public int pid
Field Value
state
The state of the server.
public ServerState state
Field Value
Methods
ice_read(InputStream)
Unmarshals a value from an input stream.
public static ServerDynamicInfo ice_read(InputStream istr)
Parameters
istrInputStreamThe input stream.
Returns
- ServerDynamicInfo
The unmarshaled value.
ice_write(OutputStream, ServerDynamicInfo)
Marshals a value into an output stream.
public static void ice_write(OutputStream ostr, ServerDynamicInfo v)
Parameters
ostrOutputStreamThe output stream.
vServerDynamicInfoThe value to marshal.