java.lang.Object
com.zeroc.IceStorm.LinkInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a topic link.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static LinkInfo
ice_read
(InputStream istr) Unmarshals aLinkInfo
from an input stream.ice_read
(InputStream istr, int tag) Unmarshals an optionalLinkInfo
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, LinkInfo v) Marshals an optionalLinkInfo
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<LinkInfo> v) Marshals an optionalLinkInfo
into an output stream.static void
ice_write
(OutputStream ostr, LinkInfo v) Marshals aLinkInfo
into an output stream.void
ice_writeMembers
(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
theTopic
The linked topic proxy. This proxy is never null. -
name
The name of the linked topic. -
cost
public int costThe cost of traversing this link.
-
-
Constructor Details
-
LinkInfo
public LinkInfo()Constructs aLinkInfo
. -
LinkInfo
Constructs aLinkInfo
with values for all its fields.- Parameters:
theTopic
- The linked topic proxy.name
- The name of the linked topic.cost
- The cost of traversing this link.
-
-
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 aLinkInfo
into an output stream.- Parameters:
ostr
- the output streamv
- theLinkInfo
to marshal; can be null
-
ice_read
Unmarshals aLinkInfo
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
LinkInfo
-
ice_write
Marshals an optionalLinkInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalLinkInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalLinkInfo
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-