java.lang.Object
com.zeroc.IceGrid.AdapterInfo
- All Implemented Interfaces:
Serializable,Cloneable
Information about an adapter registered with the IceGrid registry.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::AdapterInfo.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aAdapterInfo.AdapterInfo(String id, ObjectPrx proxy, String replicaGroupId) Constructs aAdapterInfowith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static AdapterInfoice_read(InputStream istr) Unmarshals anAdapterInfofrom an input stream.static Optional<AdapterInfo>ice_read(InputStream istr, int tag) Unmarshals an optionalAdapterInfofrom 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, AdapterInfo v) Marshals an optionalAdapterInfointo an output stream.static voidice_write(OutputStream ostr, int tag, Optional<AdapterInfo> v) Marshals an optionalAdapterInfointo an output stream.static voidice_write(OutputStream ostr, AdapterInfo v) Marshals anAdapterInfointo an output stream.voidice_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 aAdapterInfowith 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 anAdapterInfointo an output stream.- Parameters:
ostr- the output streamv- theAdapterInfoto marshal
-
ice_read
Unmarshals anAdapterInfofrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
AdapterInfo
-
ice_write
Marshals an optionalAdapterInfointo an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalAdapterInfointo an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalAdapterInfofrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-