public static class Service.ServiceData
extends java.lang.Object
Service.ServiceDataFlags,
ServiceImpl| Constructor and Description |
|---|
ServiceData()
Instantiates a new service data.
|
| Modifier and Type | Method and Description |
|---|---|
int |
action()
Returns action associated with data filter.
|
void |
action(int action)
Sets action associated with data filter.
|
void |
applyHasData()
Applies data presence flag.
|
boolean |
checkHasData()
Checks the presence of the data field.
|
void |
clear()
Clears an RDM Service Data.
|
int |
copy(Service.ServiceData destServiceData)
Performs a deep copy of
Service.ServiceData object. |
com.thomsonreuters.upa.codec.Buffer |
data()
Returns buffer representing the encoded data, to be applied to all items being provided by this
service.
|
void |
data(com.thomsonreuters.upa.codec.Buffer data)
Sets encoded data for this service to the user specified
buffer.
|
int |
dataType()
Returns dataType - The OMM type of the data.
|
void |
dataType(int dataType)
dataType - The OMM type of the data.
|
int |
decode(com.thomsonreuters.upa.codec.DecodeIterator dIter)
Decode a UPA service data field into an RDM service data field.
|
int |
encode(com.thomsonreuters.upa.codec.EncodeIterator encIter)
Encode an RDM Service Data.
|
int |
filterId()
Returns filterId - Populated by
Directory.ServiceFilterIds. |
int |
flags()
Returns service data flags.
|
void |
flags(int flags)
Sets service data flags.
|
java.lang.String |
toString() |
long |
type()
Directory data type.
|
void |
type(long type)
Directory data type.
|
int |
update(Service.ServiceData destServiceData)
Performs an update of
Service.ServiceData object. |
public void clear()
public void applyHasData()
flags().public boolean checkHasData()
flags(int).flags(int)public int encode(com.thomsonreuters.upa.codec.EncodeIterator encIter)
encIter - The Encode Iteratorpublic int decode(com.thomsonreuters.upa.codec.DecodeIterator dIter)
dIter - The Decode Iteratorpublic int copy(Service.ServiceData destServiceData)
Service.ServiceData object.destServiceData - ServiceData object to copy this object into. It cannot be null.public int update(Service.ServiceData destServiceData)
Service.ServiceData object.destServiceData - ServiceData object to update with information from this object. It cannot be null.public void flags(int flags)
Service.ServiceDataFlags.flags - the flagspublic int flags()
Service.ServiceDataFlags.public void action(int action)
action - the actionpublic int action()
public int dataType()
DataTypes.public void dataType(int dataType)
DataTypes.dataType - the data typepublic long type()
Directory.DataTypes.public void type(long type)
Directory.DataTypes.type - the typepublic com.thomsonreuters.upa.codec.Buffer data()
public void data(com.thomsonreuters.upa.codec.Buffer data)
data - the datapublic int filterId()
Directory.ServiceFilterIds.public java.lang.String toString()
toString in class java.lang.ObjectCopyright @ 2019 Thomson Reuters. All Rights Reserved.