class ConnectionParametersBuilder

Parents

ConnectionParameters

Brief

Sets additional connection parameters, including application name, number of reconnects before attempting to disconnect, resilience policy, agent name, login timeout, and number of seconds before reconnect

Public Methods

build

Sets the parameters of the connection

ConnectionParametersBuilder

This method is a constructor for the class setting additional connection parameters. The constructor does not return any values

copyFrom

Copies properties from one object to another, setting properties in the current object equal to the values of the chosen parameters by calling the appropriate accessor methods

getResilienceBuilder

Returns object used to set and manage parameters related to resilience policies in the application

setAgent

Sets agent's name

setApplicationName

Sets application name

setLoginTimeoutInSeconds

Sets the number of seconds that the client application should wait for a login response before timing out

setReconnectionDelayInSeconds

Sets the number of seconds before reconnecting

setReconnectionsNumber

Sets number of reconnects before attempting to disconnect

setResilienceBuilder

Sets a resilience policy

back