java.lang.Object
com.zeroc.IceGrid.ServerInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a server managed by an IceGrid node.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe application to which this server belongs.The server descriptor.The IceGrid node where this server is deployed.int
The application revision.The ID of the session which allocated the server.The application UUID. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aServerInfo
.ServerInfo
(String application, String uuid, int revision, String node, ServerDescriptor descriptor, String sessionId) Constructs aServerInfo
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static ServerInfo
ice_read
(InputStream istr) Unmarshals aServerInfo
from an input stream.static Optional<ServerInfo>
ice_read
(InputStream istr, int tag) Unmarshals an optionalServerInfo
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, ServerInfo v) Marshals an optionalServerInfo
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<ServerInfo> v) Marshals an optionalServerInfo
into an output stream.static void
ice_write
(OutputStream ostr, ServerInfo v) Marshals aServerInfo
into an output stream.void
ice_writeMembers
(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
application
The application to which this server belongs. -
uuid
The application UUID. -
revision
public int revisionThe application revision. -
node
The IceGrid node where this server is deployed. -
descriptor
The server descriptor. -
sessionId
The ID of the session which allocated the server.
-
-
Constructor Details
-
ServerInfo
public ServerInfo()Constructs aServerInfo
. -
ServerInfo
public ServerInfo(String application, String uuid, int revision, String node, ServerDescriptor descriptor, String sessionId) Constructs aServerInfo
with values for all its fields.- Parameters:
application
- The application to which this server belongs.uuid
- The application UUID.revision
- The application revision.node
- The IceGrid node where this server is deployed.descriptor
- The server descriptor.sessionId
- The ID of the session which allocated the server.
-
-
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 aServerInfo
into an output stream.- Parameters:
ostr
- the output streamv
- theServerInfo
to marshal; can be null
-
ice_read
Unmarshals aServerInfo
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
ServerInfo
-
ice_write
Marshals an optionalServerInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalServerInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalServerInfo
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-