public class JeeJoynrServiceLocator.JeeJoynrServiceProxyBuilder<T> extends Object implements ServiceLocator.ServiceProxyBuilder<T>
| Modifier and Type | Method and Description |
|---|---|
T |
build()
Create the service proxy using all of the settings previously setup using the 'with*' methods.
|
ServiceLocator.ServiceProxyBuilder<T> |
withDicoveryQos(io.joynr.arbitration.DiscoveryQos discoveryQos)
Set the discovery quality-of-service to use when looking up the service which the proxy will talk to.
|
ServiceLocator.ServiceProxyBuilder<T> |
withMessagingQos(io.joynr.messaging.MessagingQos messagingQos)
Set the messaging quality-of-service to use when sending messages from the resulting proxy.
|
ServiceLocator.ServiceProxyBuilder<T> |
withTtl(long ttl)
Set the time to live for messages being sent from the resulting proxy.
|
ServiceLocator.ServiceProxyBuilder<T> |
withUseCase(String useCase)
Set the stateless async use case name use to find the relevant
CallbackHandler to use for processing
stateless async replies resulting from requests sent from this proxy. |
public ServiceLocator.ServiceProxyBuilder<T> withTtl(long ttl)
ServiceLocator.ServiceProxyBuilderServiceLocator.ServiceProxyBuilder.withMessagingQos(MessagingQos) will override any value you set via this
method. If you want to set other messaging QoS values, then you should simply set the TTL on a
messaging QoS instance and call ServiceLocator.ServiceProxyBuilder.withMessagingQos(MessagingQos).withTtl in interface ServiceLocator.ServiceProxyBuilder<T>ttl - the time to live to use when sending messages from the proxy.public ServiceLocator.ServiceProxyBuilder<T> withMessagingQos(io.joynr.messaging.MessagingQos messagingQos)
ServiceLocator.ServiceProxyBuilderwithMessagingQos in interface ServiceLocator.ServiceProxyBuilder<T>messagingQos - the messaging quality-of-service to use.public ServiceLocator.ServiceProxyBuilder<T> withDicoveryQos(io.joynr.arbitration.DiscoveryQos discoveryQos)
ServiceLocator.ServiceProxyBuilderwithDicoveryQos in interface ServiceLocator.ServiceProxyBuilder<T>discoveryQos - the discovery quality-of-service to use.public ServiceLocator.ServiceProxyBuilder<T> withUseCase(String useCase)
ServiceLocator.ServiceProxyBuilderCallbackHandler to use for processing
stateless async replies resulting from requests sent from this proxy.withUseCase in interface ServiceLocator.ServiceProxyBuilder<T>public T build()
ServiceLocator.ServiceProxyBuilderbuild in interface ServiceLocator.ServiceProxyBuilder<T>Copyright © 2019. All rights reserved.