java.lang.Object
com.zeroc.IceGrid.AdapterInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Information about an adapter registered with the IceGrid registry.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aAdapterInfo
.AdapterInfo
(String id, ObjectPrx proxy, String replicaGroupId) Constructs aAdapterInfo
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static AdapterInfo
ice_read
(InputStream istr) Unmarshals anAdapterInfo
from an input stream.static Optional<AdapterInfo>
ice_read
(InputStream istr, int tag) Unmarshals an optionalAdapterInfo
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, AdapterInfo v) Marshals an optionalAdapterInfo
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<AdapterInfo> v) Marshals an optionalAdapterInfo
into an output stream.static void
ice_write
(OutputStream ostr, AdapterInfo v) Marshals anAdapterInfo
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 adapter. -
proxy
A dummy direct proxy that contains the adapter endpoints. -
replicaGroupId
The replica group ID of the object adapter, or empty if the adapter doesn't belong to a replica group.
-
-
Constructor Details
-
AdapterInfo
public AdapterInfo()Constructs aAdapterInfo
. -
AdapterInfo
Constructs aAdapterInfo
with values for all its fields.- Parameters:
id
- The ID of the adapter.proxy
- A dummy direct proxy that contains the adapter endpoints.replicaGroupId
- The replica group ID of the object adapter, or empty if the adapter doesn't belong to a replica group.
-
-
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 anAdapterInfo
into an output stream.- Parameters:
ostr
- the output streamv
- theAdapterInfo
to marshal; can be null
-
ice_read
Unmarshals anAdapterInfo
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
AdapterInfo
-
ice_write
Marshals an optionalAdapterInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalAdapterInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalAdapterInfo
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-