T - the type of the service for which to build a proxy.public static interface 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. |
ServiceLocator.ServiceProxyBuilder<T> withTtl(long ttl)
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 withMessagingQos(MessagingQos).ttl - the time to live to use when sending messages from the proxy.ServiceLocator.ServiceProxyBuilder<T> withMessagingQos(io.joynr.messaging.MessagingQos messagingQos)
messagingQos - the messaging quality-of-service to use.ServiceLocator.ServiceProxyBuilder<T> withDicoveryQos(io.joynr.arbitration.DiscoveryQos discoveryQos)
discoveryQos - the discovery quality-of-service to use.ServiceLocator.ServiceProxyBuilder<T> withUseCase(String useCase)
CallbackHandler to use for processing
stateless async replies resulting from requests sent from this proxy.useCase - T build()
Copyright © 2019. All rights reserved.