ICfgBase
, ICfgStructure
@Generated(value="com.genesyslab.platform.applicationblocks.com.generator.COMGenerator", date="2021-06-14T15:47:12-07:00") public class CfgServer extends CfgStructure
appServerDBIDs
tenantDBIDs
flexibleProperties
.
Constructor | Description |
---|---|
CfgServer(IConfService confService,
ICfgObject parent) |
This constructor is intended for creation of detached objects.
|
CfgServer(IConfService confService,
ConfStructure objData,
ICfgObject parent) |
This constructor is intended for creation of structures from external or imported XML data.
|
CfgServer(IConfService confService,
org.w3c.dom.Node xmlData,
ICfgObject parent) |
This constructor is intended for creation of structures from external or imported XML data.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Integer |
getAttempts() |
Number of attempts to connect
to this server before trying to connect to the backup server.
|
CfgApplication |
getBackupServer() |
An identifier of the
Server
which is to be contacted if connection
to this server fails. |
java.lang.Integer |
getBackupServerDBID() |
Retrieves the dbid of the object that is being linked to by the BackupServer property.
|
CfgHost |
getHost() |
A unique identifier of the
CfgHost
where this server resides. |
java.lang.Integer |
getHostDBID() |
Retrieves the dbid of the object that is being linked to by the Host property.
|
java.lang.String |
getPort() |
A pointer to the name of the port
which client applications should use to open communication sessions
to this server.
|
java.lang.Integer |
getTimeout() |
Time-out in seconds that the application
should run before making a re-connect attempt after a communication
session with this server has failed.
|
void |
setAttempts(java.lang.Integer value) |
Number of attempts to connect
to this server before trying to connect to the backup server.
|
void |
setBackupServer(CfgApplication value) |
An identifier of the
Server
which is to be contacted if connection
to this server fails. |
void |
setBackupServerDBID(int dbid) |
An identifier of the
Server
which is to be contacted if connection
to this server fails. |
void |
setHost(CfgHost value) |
A unique identifier of the
CfgHost
where this server resides. |
void |
setHostDBID(int dbid) |
A unique identifier of the
CfgHost
where this server resides. |
void |
setPort(java.lang.String value) |
A pointer to the name of the port
which client applications should use to open communication sessions
to this server.
|
void |
setTimeout(java.lang.Integer value) |
Time-out in seconds that the application
should run before making a re-connect attempt after a communication
session with this server has failed.
|
clone, ensureDataBackup, equals, flushChildrenContent, getConfigurationService, getData, getEndpoint, getLinkListCollection, getLinkValue, getLogger, getMetaData, getProperty, getProperty, getProperty, getRawObjectData, hashCode, initStruct, isSaved, lockObject, reloadObjectWithNewData, resolveLink, setProperty, toString, toStringProperties, toXml
getParent, updateChildrenSavedState
getEndpoint, getProperty, getRawObjectData, setProperty, toXml
public CfgServer(IConfService confService, ConfStructure objData, ICfgObject parent)
confService
- configuration service instanceobjData
- configuration protocol structure dataparent
- instance of configuration object as a parent for this structure instancepublic CfgServer(IConfService confService, org.w3c.dom.Node xmlData, ICfgObject parent)
confService
- configuration service instancexmlData
- XML object containing structure dataparent
- instance of configuration object as a parent for this structure instancepublic CfgServer(IConfService confService, ICfgObject parent)
confService
- configuration service instanceparent
- instance of configuration object as a parent for this structure instancepublic final CfgHost getHost()
CfgHost
where this server resides. Cannot be changed as long as the server
is associated with at least one client application or a primary
server.public final void setHost(CfgHost value)
CfgHost
where this server resides. Cannot be changed as long as the server
is associated with at least one client application or a primary
server.value
- new property valuegetHost()
public final void setHostDBID(int dbid)
CfgHost
where this server resides. Cannot be changed as long as the server
is associated with at least one client application or a primary
server.dbid
- DBID identifier of referred objectgetHost()
public final java.lang.Integer getHostDBID()
public final java.lang.String getPort()
portInfos
list.public final void setPort(java.lang.String value)
portInfos
list.value
- new property valuegetPort()
public final CfgApplication getBackupServer()
Server
which is to be contacted if connection
to this server fails. The backup server must be associated with
the same account (see
ConfSetAccount
) and have the same application
type(CfgAppType
). One backup server cannot be associated with more
than one primary server. See comments.public final void setBackupServer(CfgApplication value)
Server
which is to be contacted if connection
to this server fails. The backup server must be associated with
the same account (see
ConfSetAccount
) and have the same application
type(CfgAppType
). One backup server cannot be associated with more
than one primary server. See comments.value
- new property valuegetBackupServer()
public final void setBackupServerDBID(int dbid)
Server
which is to be contacted if connection
to this server fails. The backup server must be associated with
the same account (see
ConfSetAccount
) and have the same application
type(CfgAppType
). One backup server cannot be associated with more
than one primary server. See comments.dbid
- DBID identifier of referred objectgetBackupServer()
public final java.lang.Integer getBackupServerDBID()
public final java.lang.Integer getTimeout()
10
by default.public final void setTimeout(java.lang.Integer value)
10
by default.value
- new property valuegetTimeout()
public final java.lang.Integer getAttempts()
backupServerDBID
is specified. May not be
set to a negative value. Recommended to be set to 1
by default.public final void setAttempts(java.lang.Integer value)
backupServerDBID
is specified. May not be
set to a negative value. Recommended to be set to 1
by default.value
- new property valuegetAttempts()
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.