public static class Service.ServiceState
extends java.lang.Object
Service.ServiceStateFlags,
ServiceImpl| Constructor and Description |
|---|
ServiceState()
Instantiates a new service state.
|
| Modifier and Type | Method and Description |
|---|---|
long |
acceptingRequests()
Returns acceptingRequests - Flag indicating whether the service is accepting item
requests.
|
void |
acceptingRequests(long acceptingRequests)
Sets acceptingRequests - Flag indicating whether the service is
accepting item requests.
|
int |
action()
Returns action - Action associated with this Service Info.
|
void |
action(int action)
Sets action - Action associated with this Service Info.
|
void |
applyHasAcceptingRequests()
Applies acceptingRequests presence flag.
|
void |
applyHasStatus()
Applies status presence flag.
|
boolean |
checkHasAcceptingRequests()
Indicates presence of the acceptingRequests field.
|
boolean |
checkHasStatus()
Indicates presence of the status field.
|
void |
clear()
Clears a ServiceState.
|
int |
copy(Service.ServiceState destServiceState)
Performs a deep copy of
Service.ServiceState object. |
int |
decode(com.thomsonreuters.upa.codec.DecodeIterator dIter)
Decode a UPA service status filter into an RDM service status filter.
|
int |
encode(com.thomsonreuters.upa.codec.EncodeIterator encIter)
Encode an RDM Service State filter.
|
int |
filterId()
Returns filterId - Populated by
Directory.ServiceFilterIds. |
int |
flags()
Returns service state flags.
|
void |
flags(int flags)
Sets service state flags.
|
long |
serviceState()
Returns current state of the service.
|
void |
serviceState(long serviceState)
Sets current state of the service.
|
com.thomsonreuters.upa.codec.State |
status()
Returns status to be applied to all items being provided by this
service.
|
void |
status(com.thomsonreuters.upa.codec.State status)
Sets status to be applied to all items being provided by this
service.
|
java.lang.String |
toString() |
int |
update(Service.ServiceState destServiceState)
Performs an update of
Service.ServiceState object. |
public void clear()
public int flags()
Service.ServiceStateFlags.public void flags(int flags)
Service.ServiceStateFlags.flags - the flagspublic int copy(Service.ServiceState destServiceState)
Service.ServiceState object.destServiceState - ServiceState object to copy this object into. It cannot be null.public int update(Service.ServiceState destServiceState)
Service.ServiceState object.destServiceState - ServiceState object to update with information from this object. It cannot be null.public java.lang.String toString()
toString in class java.lang.Objectpublic int action()
public void action(int action)
action - the actionpublic long serviceState()
public void serviceState(long serviceState)
serviceState - the service statepublic long acceptingRequests()
public void acceptingRequests(long acceptingRequests)
acceptingRequests - the accepting requestspublic boolean checkHasAcceptingRequests()
flags().public void applyHasAcceptingRequests()
flags(int).public com.thomsonreuters.upa.codec.State status()
public void status(com.thomsonreuters.upa.codec.State status)
status - the statuspublic boolean checkHasStatus()
flags().public void applyHasStatus()
flags(int).public int filterId()
Directory.ServiceFilterIds.public int encode(com.thomsonreuters.upa.codec.EncodeIterator encIter)
encIter - The Encode Iteratorpublic int decode(com.thomsonreuters.upa.codec.DecodeIterator dIter)
dIter - The Decode IteratorCopyright @ 2019 Thomson Reuters. All Rights Reserved.