java.lang.Object
com.zeroc.IceGrid.RegistryInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Information about an IceGrid registry replica.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aRegistryInfo
.RegistryInfo
(String name, String hostname) Constructs aRegistryInfo
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static RegistryInfo
ice_read
(InputStream istr) Unmarshals aRegistryInfo
from an input stream.static Optional<RegistryInfo>
ice_read
(InputStream istr, int tag) Unmarshals an optionalRegistryInfo
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, RegistryInfo v) Marshals an optionalRegistryInfo
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<RegistryInfo> v) Marshals an optionalRegistryInfo
into an output stream.static void
ice_write
(OutputStream ostr, RegistryInfo v) Marshals aRegistryInfo
into an output stream.void
ice_writeMembers
(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
name
The name of the registry. -
hostname
The network name of the host running this registry.
-
-
Constructor Details
-
RegistryInfo
public RegistryInfo()Constructs aRegistryInfo
. -
RegistryInfo
Constructs aRegistryInfo
with values for all its fields.- Parameters:
name
- The name of the registry.hostname
- The network name of the host running this registry.
-
-
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 aRegistryInfo
into an output stream.- Parameters:
ostr
- the output streamv
- theRegistryInfo
to marshal; can be null
-
ice_read
Unmarshals aRegistryInfo
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
RegistryInfo
-
ice_write
Marshals an optionalRegistryInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalRegistryInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalRegistryInfo
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-