public class HandlerSettings extends Object
Constructor and Description |
---|
HandlerSettings() |
Modifier and Type | Method and Description |
---|---|
ConnectionSettings |
getConnectionSettings()
Returns the connection settings.
|
String |
getGatewayPassword()
Returns the gateway password.
|
int |
getHeartbeatInterval()
Returns the heartbeat interval in milliseconds.
|
String |
getLicenseContent()
Returns license file content if set explicitly.
|
String |
getLicenseDirectory()
Returns license directory.
|
String |
getLicenseFile()
Returns license file.
|
int |
getPartyIdSessionId()
Returns partyIdSessionId.
|
ReconnectionSettings |
getReconnectionSettings()
Returns reconnection settings.
|
int |
getTimeout()
Returns timeout in seconds.
|
void |
init(biz.onixs.util.settings.Settings settings)
Initializes the handler settings.
|
void |
init(String settingsResource)
Initializes the handler settings.
|
void |
setConnectionSettings(ConnectionSettings connectionSettings)
Sets the connection settings.
|
void |
setGatewayPassword(String gatewayPassword)
Sets the gateway password.
|
void |
setHeartbeatInterval(int heartbeatInterval)
Sets the heartbeat interval in milliseconds.
|
void |
setLicenseContent(String licenseContent)
Sets license file content explicitly.
|
void |
setLicenseDirectory(String licenseDirectory)
Sets license directory.
|
void |
setLicenseFile(String licenseFile)
Sets license file.
|
void |
setPartyIdSessionId(int partyIdSessionId)
Sets the partyIdSessionId.
|
void |
setReconnectionSettings(ReconnectionSettings reconnectionSettings)
Sets reconnection settings.
|
void |
setTimeout(int timeoutInSeconds)
Sets timeout in seconds.
|
String |
toString() |
public void init(String settingsResource) throws HandlerException
settingsResource
- settings resource to load fromHandlerException
public void init(biz.onixs.util.settings.Settings settings) throws HandlerException
settings
- to applyHandlerException
public int getHeartbeatInterval()
public void setHeartbeatInterval(int heartbeatInterval)
heartbeatInterval
- heartbeat interval, from 100 till 60000, default is 30000.public ConnectionSettings getConnectionSettings()
public void setConnectionSettings(ConnectionSettings connectionSettings)
connectionSettings
- connection settingspublic void setPartyIdSessionId(int partyIdSessionId)
partyIdSessionId
- partyIdSessionIdpublic int getPartyIdSessionId()
public void setGatewayPassword(String gatewayPassword)
gatewayPassword
- gateway passwordpublic String getGatewayPassword()
public String getLicenseFile()
public void setLicenseFile(String licenseFile)
licenseFile
- license file.public String getLicenseDirectory()
public void setLicenseDirectory(String licenseDirectory)
licenseDirectory
- license directorypublic String getLicenseContent()
public void setLicenseContent(String licenseContent)
licenseContent
- license file contentpublic ReconnectionSettings getReconnectionSettings()
public void setReconnectionSettings(ReconnectionSettings reconnectionSettings)
reconnectionSettings
- reconnection settingspublic int getTimeout()
public void setTimeout(int timeoutInSeconds)
timeoutInSeconds
- timeout in secondsCopyright © 2012–2024 Onix Solutions. All rights reserved.