java.lang.Object
com.zeroc.IceGrid.ServerDynamicInfo
- All Implemented Interfaces:
Serializable,Cloneable
Dynamic information about the state of a server.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::ServerDynamicInfo.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aServerDynamicInfo.ServerDynamicInfo(String id, ServerState state, int pid, boolean enabled) Constructs aServerDynamicInfowith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static ServerDynamicInfoice_read(InputStream istr) Unmarshals aServerDynamicInfofrom an input stream.static Optional<ServerDynamicInfo>ice_read(InputStream istr, int tag) Unmarshals an optionalServerDynamicInfofrom an input stream.voidice_readMembers(InputStream istr) Unmarshals and sets this object's fields from an input stream.static voidice_write(OutputStream ostr, int tag, ServerDynamicInfo v) Marshals an optionalServerDynamicInfointo an output stream.static voidice_write(OutputStream ostr, int tag, Optional<ServerDynamicInfo> v) Marshals an optionalServerDynamicInfointo an output stream.static voidice_write(OutputStream ostr, ServerDynamicInfo v) Marshals aServerDynamicInfointo an output stream.voidice_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 aServerDynamicInfowith 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 aServerDynamicInfointo an output stream.- Parameters:
ostr- the output streamv- theServerDynamicInfoto marshal
-
ice_read
Unmarshals aServerDynamicInfofrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
ServerDynamicInfo
-
ice_write
Marshals an optionalServerDynamicInfointo an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalServerDynamicInfointo an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalServerDynamicInfofrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-