public static class Service.ServiceLink
extends java.lang.Object
Service.ServiceLinkFlags,
ServiceImpl| Constructor and Description |
|---|
ServiceLink()
Instantiates a new service link.
|
| Modifier and Type | Method and Description |
|---|---|
int |
action()
Returns the action associated with this link filter.
|
void |
action(int action)
Sets action associated with this link filter.
|
void |
applyHasCode()
Applies link code flag.
|
void |
applyHasText()
Applies text presence flag.
|
void |
applyHasType()
Applies link code flag.
|
boolean |
checkHasCode()
Indicates presence of the link code field.
|
boolean |
checkHasText()
Indicates presence of the link text field.
|
boolean |
checkHasType()
Indicates presence of the link type field.
|
void |
clear()
Clears an RDMServiceLink.
|
int |
copy(Service.ServiceLink destServiceLink)
Performs a deep copy of
Service.ServiceLink object. |
int |
decode(com.thomsonreuters.upa.codec.DecodeIterator dIter)
Decode a UPA service link filter into an RDM service link filter.
|
int |
encode(com.thomsonreuters.upa.codec.EncodeIterator encIter)
Encode a single RDM Service Link filter entry.
|
int |
filterId()
Returns filterId - Populated by
Directory.ServiceFilterIds. |
int |
flags()
Returns the service sink flags.
|
void |
flags(int flags)
Sets service link flags.
|
long |
linkCode()
Returns linkCode - Code indicating additional information about the status of the source.
|
void |
linkCode(long linkCode)
Sets linkCode - Code indicating additional information about the status of the source.
|
long |
linkState()
Returns linkState - Flag indicating whether the source is up or down.
|
void |
linkState(long linkState)
Sets linkState - Flag indicating whether the source is up or down.
|
com.thomsonreuters.upa.codec.Buffer |
linkText()
Deprecated.
|
com.thomsonreuters.upa.codec.Buffer |
name()
Returns name identifying this upstream source.
|
void |
name(com.thomsonreuters.upa.codec.Buffer name)
Sets upstream source name to the user specified buffer.
|
com.thomsonreuters.upa.codec.Buffer |
text()
Returns text - Text further describing the state provided by the linkState and
linkCode members.
|
void |
text(com.thomsonreuters.upa.codec.Buffer text)
Sets text field buffer for this service to the user specified
buffer.
|
java.lang.String |
toString() |
long |
type()
Returns type of this service link.
|
void |
type(long type)
Sets type of this service link.
|
public java.lang.String toString()
toString in class java.lang.Objectpublic void clear()
public int copy(Service.ServiceLink destServiceLink)
Service.ServiceLink object.destServiceLink - ServiceLink object to copy this object into. It cannot be null.public com.thomsonreuters.upa.codec.Buffer name()
public void name(com.thomsonreuters.upa.codec.Buffer name)
name - the namepublic long type()
Directory.LinkTypespublic void type(long type)
Directory.LinkTypestype - the typepublic long linkState()
Directory.LinkStates.public void linkState(long linkState)
Directory.LinkStates.linkState - the link statepublic long linkCode()
Directory.LinkCodes.public void linkCode(long linkCode)
Directory.LinkCodes.linkCode - the link code@Deprecated public com.thomsonreuters.upa.codec.Buffer linkText()
public com.thomsonreuters.upa.codec.Buffer text()
public void text(com.thomsonreuters.upa.codec.Buffer text)
text - the textpublic int flags()
Service.ServiceLinkFlagspublic void flags(int flags)
Service.ServiceLinkFlagsflags - the flagspublic int filterId()
Directory.ServiceFilterIds.public int encode(com.thomsonreuters.upa.codec.EncodeIterator encIter)
encIter - The Encode Iteratorpublic boolean checkHasText()
flags().public void applyHasText()
flags(int).public boolean checkHasCode()
flags().public void applyHasCode()
flags(int).public boolean checkHasType()
flags().public void applyHasType()
flags(int).public int decode(com.thomsonreuters.upa.codec.DecodeIterator dIter)
dIter - The Decode Iteratorpublic int action()
MapEntryActionspublic void action(int action)
action - - Populated by MapEntryActionsCopyright @ 2019 Thomson Reuters. All Rights Reserved.