Platform SDK Java 8.5 API Reference

com.genesyslab.platform.apptemplate.configuration
Interface IGApplicationConfiguration.IGServerInfo

All Known Implementing Classes:
GApplicationConfiguration.GServerInfo, GCOMApplicationConfiguration.GCOMServerInfo
Enclosing interface:
IGApplicationConfiguration

public static interface IGApplicationConfiguration.IGServerInfo

This structure represents group of server type specific application properties.

See Also:
CfgServer

Method Summary
 java.lang.Integer getAttempts()
          Returns number of attempts to connect to this server before trying to connect to the backup server.
 IGApplicationConfiguration getBackup()
          Returns description of server which is to be contacted if connection to this server fails.
 IGApplicationConfiguration.IGHost getHost()
          Returns reference to structure describing host where this server resides.
 java.lang.String getPort()
          Returns name of the port to connect to on the target server.
 java.lang.Integer getTimeout()
          Returns reconnect timeout for connection to the target application.
 

Method Detail

getHost

IGApplicationConfiguration.IGHost getHost()
Returns reference to structure describing host where this server resides.

Returns:
the host description structure
See Also:
IGApplicationConfiguration.IGHost, CfgServer.getHost()

getPort

java.lang.String getPort()
Returns name of the port to connect to on the target server.

Returns:
target port name/id
See Also:
CfgServer.getPort()

getTimeout

java.lang.Integer getTimeout()
Returns reconnect timeout for connection to the target application.

Returns:
reconnect timeout in seconds
See Also:
CfgServer.getTimeout()

getAttempts

java.lang.Integer getAttempts()
Returns number of attempts to connect to this server before trying to connect to the backup server.

Returns:
reconnect attempts number or null
See Also:
CfgServer.getAttempts()

getBackup

IGApplicationConfiguration getBackup()
Returns description of server which is to be contacted if connection to this server fails.

Returns:
reference to description of backup server application or null
See Also:
CfgServer.getBackupServer()

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.