|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqueued.sdk.java.examples.OpenMediaSdkData
Reads Configuration Layer data from the
OpenMediaSdk.properties
file. This data includes information such as the host
and port to use, the name of an application to connect to, and so on.
Once this data has been stored in the fields of this class, it is available to the Queued Interaction Java Library's code examples by means of getter and setter methods.
Constructor Summary | |
OpenMediaSdkData()
|
Method Summary | |
java.lang.String |
getApplicationName()
Returns the application name. |
java.lang.String |
getConfigServerBackupHost()
Returns the backup host name. |
int |
getConfigServerBackupPort()
Returns the backup port. |
java.lang.String |
getConfigServerPrimaryHost()
Returns the primary hostname. |
int |
getConfigServerPrimaryPort()
Returns the primary port. |
int |
getReconnectionAttempts()
Returns the maximum number of reconnection attempts. |
int |
getReconnectionPeriod()
Returns the reconnection period, in milliseconds. |
void |
loadData()
Loads the properties from the OpenMediaSdk.properties file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OpenMediaSdkData()
Method Detail |
public java.lang.String getApplicationName()
public java.lang.String getConfigServerBackupHost()
public int getConfigServerBackupPort()
public java.lang.String getConfigServerPrimaryHost()
public int getConfigServerPrimaryPort()
public int getReconnectionPeriod()
public int getReconnectionAttempts()
public void loadData() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |