filters |= com.thomsonreuters.upa.rdm.Directory.ServiceFilterFlags.INFO; if( service.checkHasState() ) filters |= com.thomsonreuters.upa.rdm.Directory.ServiceFilterFlags.STATE;
if ( service.checkHasState() )
public boolean isRequestedTunnelStreamServiceUp(ChannelInfo chnlInfo) { return chnlInfo.hasTunnelStreamServiceInfo && chnlInfo.tsServiceInfo.checkHasState() && (!chnlInfo.tsServiceInfo.state().checkHasAcceptingRequests() || chnlInfo.tsServiceInfo.state().acceptingRequests() == 1) && chnlInfo.tsServiceInfo.state().serviceState() == 1; }
public boolean isRequestedServiceUp(ChannelInfo chnlInfo) { return chnlInfo.hasServiceInfo && chnlInfo.serviceInfo.checkHasState() && (!chnlInfo.serviceInfo.state().checkHasAcceptingRequests() || chnlInfo.serviceInfo.state().acceptingRequests() == 1) && chnlInfo.serviceInfo.state().serviceState() == 1; }
public boolean isRequestedServiceUp(ChannelInfo chnlInfo) { return chnlInfo.hasServiceInfo && chnlInfo.serviceInfo.checkHasState() && (!chnlInfo.serviceInfo.state().checkHasAcceptingRequests() || chnlInfo.serviceInfo.state().acceptingRequests() == 1) && chnlInfo.serviceInfo.state().serviceState() == 1; }
/** * Checks if is requested service up. * * @return true if service requested by application is up, false if not. */ public boolean isRequestedServiceUp() { return service.checkHasState() && service.state().checkHasAcceptingRequests() && service.state().acceptingRequests() == 1 && service.state().serviceState() == 1; }
/** * Checks if is requested service up. * * @return true if service requested by application is up, false if not. */ public boolean isRequestedServiceUp() { return service.checkHasState() && (!service.state().checkHasAcceptingRequests() || service.state().acceptingRequests() == 1) && service.state().serviceState() == 1; }
public boolean isRequestedTunnelStreamServiceUp(ChannelInfo chnlInfo) { return chnlInfo.hasTunnelStreamServiceInfo && chnlInfo.tsServiceInfo.checkHasState() && (!chnlInfo.tsServiceInfo.state().checkHasAcceptingRequests() || chnlInfo.tsServiceInfo.state().acceptingRequests() == 1) && chnlInfo.tsServiceInfo.state().serviceState() == 1; }
private boolean isRequestedServiceUp() { return _service != null && _service.checkHasState() && _service.state().checkHasAcceptingRequests() && _service.state().acceptingRequests() == 1 && _service.state().serviceState() == 1; }
/** * Checks if the service is up. The service will be up once the refresh is * sent. * * @return true if the service is up. */ public boolean isServiceUp() { if (service.checkHasState() && service.state().checkHasAcceptingRequests() && service.state().serviceState() == 1 && service.state().acceptingRequests() == 1) return true; return false; }
boolean isServiceUpAndAcceptingRequests(Service service) { return (_watchlist.reactorChannel().state() == ReactorChannel.State.UP || _watchlist.reactorChannel().state() == ReactorChannel.State.READY ) && service.checkHasState() && (!service.state().checkHasAcceptingRequests() || service.state().acceptingRequests() == 1) && service.state().serviceState() == 1; }
if (serviceReceived.checkHasState() && ((filter & Directory.ServiceFilterFlags.STATE) != 0))
if ( submittedService.checkHasState() ) case MapEntryActions.UPDATE: if ( submittedService.checkHasState() )
if (service.checkHasState() == true && ((filter & Directory.ServiceFilterFlags.STATE) == 0))
int flags; if ( submittedService.checkHasState() )
if (containsServiceStateUpdate && wlService.rdmService().checkHasState() && wlService.rdmService().state().checkHasStatus())
ret = _watchlist.itemHandler().serviceUpdated(wlService, service.checkHasState());
if (rdmService.checkHasState() && rdmService.state().action() != FilterEntryActions.CLEAR)
if ( service.checkHasState() && ( (directoryServiceFilter & Directory.ServiceFilterFlags.STATE) == Directory.ServiceFilterFlags.STATE ) )
private void buildRDMService(Service rdmService, int flags, int serviceAddOrDeleteAction, int filterAddOrClearAction) { rdmService.clear(); rdmService.action(serviceAddOrDeleteAction); rdmService.flags(flags); // checking only set action for the filters // other filter unit tests cover other filter actions if (rdmService.checkHasInfo()) buildRDMServiceInfo(rdmService.info(), filterAddOrClearAction); if (rdmService.checkHasLink()) buildRDMServiceLink(rdmService.link(), filterAddOrClearAction); if (rdmService.checkHasState()) buildRDMServiceState(rdmService.state(), filterAddOrClearAction); if (rdmService.checkHasLoad()) buildRDMServiceLoad(rdmService.load(), filterAddOrClearAction); if (rdmService.checkHasData()) buildRDMServiceData(rdmService.data(), filterAddOrClearAction); buildRDMServiceGroup(rdmService.groupStateList(), filterAddOrClearAction); }