public interface SdkConfigurationBuilder
SdkConfiguration
Modifier and Type | Method and Description |
---|---|
SdkConfiguration |
build()
Build and return the
SdkConfiguration |
SdkConfigurationBuilder |
setAccessToken(String accessToken)
Sets the access token
|
SdkConfigurationBuilder |
setBookmakerId(int bookmakerId)
Sets the bookmakerId
|
SdkConfigurationBuilder |
setCurrency(String currency)
Sets the currency
|
SdkConfigurationBuilder |
setExclusiveConsumer(boolean exclusiveConsumer)
Sets whether the rabbit consumer channel should be exclusive
|
SdkConfigurationBuilder |
setHost(String host)
Sets the host used to connect to AMQP broker
|
SdkConfigurationBuilder |
setLimitId(int limitId)
Sets the limitId
|
SdkConfigurationBuilder |
setNode(int nodeId)
Sets the node id
|
SdkConfigurationBuilder |
setPassword(String password)
Sets the password
|
SdkConfigurationBuilder |
setPort(int port)
Sets the port used to connect to AMQP broker.
|
SdkConfigurationBuilder |
setProvideAdditionalMarketSpecifiers(boolean provideAdditionalMarketSpecifiers)
This value is used to indicate if the sdk should add market specifiers for specific markets.
|
SdkConfigurationBuilder |
setSenderChannel(SenderChannel channel)
Sets the sender channel
|
SdkConfigurationBuilder |
setTicketResponseTimeout(int responseTimeout)
Sets the ticket response timeout(ms).
|
SdkConfigurationBuilder |
setTicketTimeOutCallbackEnabled(boolean ticketTimeOutCallbackEnabled)
Sets the value indicating if the
Ticket s sent async have the time-out callback enabled |
SdkConfigurationBuilder |
setUsername(String username)
Sets the username
|
SdkConfigurationBuilder |
setUseSsl(boolean useSsl)
Sets whether ssl should be used
|
SdkConfigurationBuilder |
setVirtualHost(String vhost)
Sets the virtual host
|
SdkConfigurationBuilder setUsername(String username)
username
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setPassword(String password)
password
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setHost(String host)
host
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setPort(int port)
port
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setVirtualHost(String vhost)
vhost
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setNode(int nodeId)
nodeId
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setUseSsl(boolean useSsl)
useSsl
- value to be setSdkConfigurationBuilder
SdkConfigurationBuilder setBookmakerId(int bookmakerId)
bookmakerId
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setLimitId(int limitId)
limitId
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setCurrency(String currency)
currency
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setSenderChannel(SenderChannel channel)
channel
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setAccessToken(String accessToken)
accessToken
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setProvideAdditionalMarketSpecifiers(boolean provideAdditionalMarketSpecifiers)
provideAdditionalMarketSpecifiers
- value to be setSdkConfigurationBuilder
SdkConfigurationBuilder setTicketTimeOutCallbackEnabled(boolean ticketTimeOutCallbackEnabled)
Ticket
s sent async have the time-out callback enabledticketTimeOutCallbackEnabled
- value to be setSdkConfigurationBuilder
SdkConfigurationBuilder setTicketResponseTimeout(int responseTimeout)
setTicketTimeOutCallbackEnabled(boolean)
is set to true
responseTimeout
- the ticket response timeout to set(ms)SdkConfigurationBuilder
SdkConfigurationBuilder setExclusiveConsumer(boolean exclusiveConsumer)
exclusiveConsumer
- value to be setSdkConfigurationBuilder
SdkConfiguration build()
SdkConfiguration
SdkConfiguration
Copyright © 2017–2019. All rights reserved.