java.lang.Object
com.zeroc.IceGrid.ServerDynamicInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Dynamic information about the state of a server.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aServerDynamicInfo
.ServerDynamicInfo
(String id, ServerState state, int pid, boolean enabled) Constructs aServerDynamicInfo
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static ServerDynamicInfo
ice_read
(InputStream istr) Unmarshals aServerDynamicInfo
from an input stream.static Optional<ServerDynamicInfo>
ice_read
(InputStream istr, int tag) Unmarshals an optionalServerDynamicInfo
from an input stream.void
ice_readMembers
(InputStream istr) Unmarshals and sets this object's fields from an input stream.static void
ice_write
(OutputStream ostr, int tag, ServerDynamicInfo v) Marshals an optionalServerDynamicInfo
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<ServerDynamicInfo> v) Marshals an optionalServerDynamicInfo
into an output stream.static void
ice_write
(OutputStream ostr, ServerDynamicInfo v) Marshals aServerDynamicInfo
into an output stream.void
ice_writeMembers
(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
id
The ID of the server. -
state
The state of the server. -
pid
public int pidThe process ID of the server. -
enabled
public boolean enabledIndicates whether the server is enabled.
-
-
Constructor Details
-
ServerDynamicInfo
public ServerDynamicInfo()Constructs aServerDynamicInfo
. -
ServerDynamicInfo
Constructs aServerDynamicInfo
with values for all its fields.- Parameters:
id
- The ID of the server.state
- The state of the server.pid
- The process ID of the server.enabled
- Indicates whether the server is enabled.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
clone
-
ice_writeMembers
Marshals this object's fields into an output stream.- Parameters:
ostr
- the output stream
-
ice_readMembers
Unmarshals and sets this object's fields from an input stream.- Parameters:
istr
- the input stream
-
ice_write
Marshals aServerDynamicInfo
into an output stream.- Parameters:
ostr
- the output streamv
- theServerDynamicInfo
to marshal; can be null
-
ice_read
Unmarshals aServerDynamicInfo
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
ServerDynamicInfo
-
ice_write
Marshals an optionalServerDynamicInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalServerDynamicInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalServerDynamicInfo
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-