Class UofRabbitConfigurationImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.cfg.UofRabbitConfigurationImpl
- All Implemented Interfaces:
UofRabbitConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets a rabbit timeout setting for connection attempts (in seconds) Between 10 and 120 (default 30s)Gets a heartbeat timeout to use when negotiating with the server (in seconds) Between 10 and 180 (default 60s)getHost()Returns the password of the broker to which you are connecting - this field should be null/blank if you are connecting to the Sportradar AMQP serversintgetPort()Gets the port used to connect to AMQP brokerReturns the username of the broker to which you are currently connecting - this field should be null/blank if you are connecting to the Sportradar AMQP serversbooleanGets a value indicating whether SSL should be used when connecting to AMQP brokerReturns the custom set messaging virtual hostvoidvoidsetPassword(String messagingPassword) voidsetPort(int messagingPort) voidsetUsername(String messagingUsername) voidsetVirtualHost(String messagingVirtualHost) toString()voiduseSsl(boolean messagingUseSsl)
-
Constructor Details
-
UofRabbitConfigurationImpl
public UofRabbitConfigurationImpl()
-
-
Method Details
-
getHost
- Specified by:
getHostin interfaceUofRabbitConfiguration- Returns:
- Host / IP for connection as provided by Sportradar
-
getPort
public int getPort()Description copied from interface:UofRabbitConfigurationGets the port used to connect to AMQP broker- Specified by:
getPortin interfaceUofRabbitConfiguration- Returns:
- the port used to connect to AMQP broker
-
getUseSsl
public boolean getUseSsl()Description copied from interface:UofRabbitConfigurationGets a value indicating whether SSL should be used when connecting to AMQP broker- Specified by:
getUseSslin interfaceUofRabbitConfiguration- Returns:
- a value indicating whether SSL should be used when connecting to AMQP broker
-
getUsername
Description copied from interface:UofRabbitConfigurationReturns the username of the broker to which you are currently connecting - this field should be null/blank if you are connecting to the Sportradar AMQP servers- Specified by:
getUsernamein interfaceUofRabbitConfiguration- Returns:
- the username of the broker to which you are connecting
-
getPassword
Description copied from interface:UofRabbitConfigurationReturns the password of the broker to which you are connecting - this field should be null/blank if you are connecting to the Sportradar AMQP servers- Specified by:
getPasswordin interfaceUofRabbitConfiguration- Returns:
- the password of the broker to which you are connecting
-
getVirtualHost
Description copied from interface:UofRabbitConfigurationReturns the custom set messaging virtual host- Specified by:
getVirtualHostin interfaceUofRabbitConfiguration- Returns:
- the custom messaging virtual host
-
getConnectionTimeout
Description copied from interface:UofRabbitConfigurationGets a rabbit timeout setting for connection attempts (in seconds) Between 10 and 120 (default 30s)- Specified by:
getConnectionTimeoutin interfaceUofRabbitConfiguration- Returns:
- a rabbit timeout setting for connection attempts (in seconds)
-
getHeartBeat
Description copied from interface:UofRabbitConfigurationGets a heartbeat timeout to use when negotiating with the server (in seconds) Between 10 and 180 (default 60s)- Specified by:
getHeartBeatin interfaceUofRabbitConfiguration- Returns:
- a heartbeat timeout to use when negotiating with the server (in seconds)
-
setHost
-
setPort
public void setPort(int messagingPort) -
useSsl
public void useSsl(boolean messagingUseSsl) -
setUsername
-
setPassword
-
setVirtualHost
-
toString
-