|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.applicationblocks.com.CfgBase
com.genesyslab.platform.applicationblocks.com.CfgStructure
com.genesyslab.platform.applicationblocks.com.objects.CfgConnInfo
public class CfgConnInfo
CfgConnInfo
contains information about a connection.
timeoutLocal
and
timeoutRemote
for this connection should not be set to
less than 3 seconds. Otherwise, the connection library will be forced to
disconnect the client.
Constructor Summary | |
---|---|
CfgConnInfo(IConfService confService,
ConfStructure objData,
ICfgObject parent)
This constructor is intended for creation of structures from external or imported XML data. |
|
CfgConnInfo(IConfService confService,
ICfgObject parent)
This constructor is intended for creation of detached objects. |
|
CfgConnInfo(IConfService confService,
org.w3c.dom.Node xmlData,
ICfgObject parent)
This constructor is intended for creation of structures from external or imported XML data. |
Method Summary | |
---|---|
java.lang.String |
getAppParams()
Connection protocol's application parameters. |
CfgApplication |
getAppServer()
The unique identifier of the
Server
this application shall
connect to as a client when it is started. |
java.lang.Integer |
getAppServerDBID()
Retrieves the dbid of the object that is being linked to by the AppServer property. |
java.lang.String |
getCharField1()
Optional text field #1. |
java.lang.String |
getCharField2()
Optional text field #2. |
java.lang.String |
getCharField3()
Optional text field #3. |
java.lang.String |
getCharField4()
Optional text field #4. |
java.lang.String |
getConnProtocol()
A pointer to the name of the connection control protocol. |
java.lang.String |
getDescription()
Optional description of the connection. |
java.lang.String |
getId()
An identifier of the server's listening port. |
java.lang.Integer |
getLongField1()
Optional integer field #1. |
java.lang.Integer |
getLongField2()
Optional integer field #2. |
java.lang.Integer |
getLongField3()
Optional integer field #3. |
java.lang.Integer |
getLongField4()
Optional integer field #4. |
CfgTraceMode |
getMode()
The trace mode dedicated for this connection. |
java.lang.String |
getProxyParams()
Connection protocol's proxy parameters. |
java.lang.Integer |
getTimoutLocal()
The heart-bit polling interval measured in seconds, on client site. |
java.lang.Integer |
getTimoutRemote()
The heart-bit polling interval measured in seconds, on server site. |
java.lang.String |
getTransportParams()
Connection protocol's transport parameters. |
void |
setAppParams(java.lang.String value)
Connection protocol's application parameters. |
void |
setAppServer(CfgApplication value)
The unique identifier of the
Server
this application shall
connect to as a client when it is started. |
void |
setAppServerDBID(int dbid)
The unique identifier of the
Server
this application shall
connect to as a client when it is started. |
void |
setCharField1(java.lang.String value)
Optional text field #1. |
void |
setCharField2(java.lang.String value)
Optional text field #2. |
void |
setCharField3(java.lang.String value)
Optional text field #3. |
void |
setCharField4(java.lang.String value)
Optional text field #4. |
void |
setConnProtocol(java.lang.String value)
A pointer to the name of the connection control protocol. |
void |
setDescription(java.lang.String value)
Optional description of the connection. |
void |
setId(java.lang.String value)
An identifier of the server's listening port. |
void |
setLongField1(java.lang.Integer value)
Optional integer field #1. |
void |
setLongField2(java.lang.Integer value)
Optional integer field #2. |
void |
setLongField3(java.lang.Integer value)
Optional integer field #3. |
void |
setLongField4(java.lang.Integer value)
Optional integer field #4. |
void |
setMode(CfgTraceMode value)
The trace mode dedicated for this connection. |
void |
setProxyParams(java.lang.String value)
Connection protocol's proxy parameters. |
void |
setTimoutLocal(java.lang.Integer value)
The heart-bit polling interval measured in seconds, on client site. |
void |
setTimoutRemote(java.lang.Integer value)
The heart-bit polling interval measured in seconds, on server site. |
void |
setTransportParams(java.lang.String value)
Connection protocol's transport parameters. |
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgStructure |
---|
getParent, updateChildrenSavedState |
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgBase |
---|
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 |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.genesyslab.platform.applicationblocks.com.ICfgBase |
---|
getEndpoint, getProperty, getRawObjectData, setProperty, toXml |
Constructor Detail |
---|
public CfgConnInfo(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 CfgConnInfo(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 CfgConnInfo(IConfService confService, ICfgObject parent)
confService
- configuration service instanceparent
- instance of configuration object as a parent for this structure instanceMethod Detail |
---|
public final CfgApplication getAppServer()
Server
this application shall
connect to as a client when it is started.
public final void setAppServer(CfgApplication value)
Server
this application shall
connect to as a client when it is started.
value
- new property valuegetAppServer()
public final void setAppServerDBID(int dbid)
Server
this application shall
connect to as a client when it is started.
dbid
- DBID identifier of referred objectgetAppServer()
public final java.lang.Integer getAppServerDBID()
public final java.lang.String getConnProtocol()
public final void setConnProtocol(java.lang.String value)
value
- new property valuegetConnProtocol()
public final java.lang.Integer getTimoutLocal()
public final void setTimoutLocal(java.lang.Integer value)
value
- new property valuegetTimoutLocal()
public final java.lang.Integer getTimoutRemote()
public final void setTimoutRemote(java.lang.Integer value)
value
- new property valuegetTimoutRemote()
public final CfgTraceMode getMode()
CfgTraceMode
below. Default value: CFGTMNoTraceMode.
public final void setMode(CfgTraceMode value)
CfgTraceMode
below. Default value: CFGTMNoTraceMode.
value
- new property valuegetMode()
public final java.lang.String getId()
CfgPortInfo.id
.
public final void setId(java.lang.String value)
CfgPortInfo.id
.
value
- new property valuegetId()
public final java.lang.String getTransportParams()
public final void setTransportParams(java.lang.String value)
value
- new property valuegetTransportParams()
public final java.lang.String getAppParams()
public final void setAppParams(java.lang.String value)
value
- new property valuegetAppParams()
public final java.lang.String getProxyParams()
public final void setProxyParams(java.lang.String value)
value
- new property valuegetProxyParams()
public final java.lang.String getDescription()
public final void setDescription(java.lang.String value)
value
- new property valuegetDescription()
public final java.lang.String getCharField1()
public final void setCharField1(java.lang.String value)
value
- new property valuegetCharField1()
public final java.lang.String getCharField2()
public final void setCharField2(java.lang.String value)
value
- new property valuegetCharField2()
public final java.lang.String getCharField3()
public final void setCharField3(java.lang.String value)
value
- new property valuegetCharField3()
public final java.lang.String getCharField4()
public final void setCharField4(java.lang.String value)
value
- new property valuegetCharField4()
public final java.lang.Integer getLongField1()
public final void setLongField1(java.lang.Integer value)
value
- new property valuegetLongField1()
public final java.lang.Integer getLongField2()
public final void setLongField2(java.lang.Integer value)
value
- new property valuegetLongField2()
public final java.lang.Integer getLongField3()
public final void setLongField3(java.lang.Integer value)
value
- new property valuegetLongField3()
public final java.lang.Integer getLongField4()
public final void setLongField4(java.lang.Integer value)
value
- new property valuegetLongField4()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |