public class BroadWorksServer extends Object implements Serializable
Constructor and Description |
---|
BroadWorksServer()
Serializable Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
clearCache()
Clears the JCS Response Cache This causes all subsequent requests to get
fresh results
|
void |
close()
Closes the BroadWorksServer and frees the used socket.
|
boolean |
equals(Object obj) |
static BroadWorksServer |
getBroadWorksServer(String serverAddress,
String username,
String password,
co.ecg.utilities.properties.TimesTenConnectionConfig ttConfig)
Delegate factory method for the creation of a BroadWorksServer.
|
static BroadWorksServer |
getBroadWorksServer(String serverAddress,
String username,
String password,
co.ecg.utilities.properties.TimesTenConnectionConfig ttConfig,
String sessionId)
Factory method for the creation of a BroadWorksServer object that has
been successfully logged in.
|
long |
getLastRequestTime() |
OCSClient |
getOCSClient() |
RequestBundler |
getRequestBundler()
Returns the
RequestBundler instance for this BroadWorksServer |
org.apache.jcs.JCS |
getResponseCache() |
String |
getServerAddress() |
String |
getSessionId() |
String |
getSignedInUserId() |
co.ecg.utilities.properties.TimesTenConnectionConfig |
getTimesTenConfig() |
int |
hashCode() |
void |
packetLimit()
This limits the number of packets per second that can be sent to the
BroadWorksServer.
|
void |
setLastRequestTime()
This stores the last time a request was sent to the OCI connection.
|
void |
setTimesTenConfig(co.ecg.utilities.properties.TimesTenConnectionConfig timestenConfig) |
public String sessionId
@GwtIncompatible public static BroadWorksServer getBroadWorksServer(String serverAddress, String username, String password, co.ecg.utilities.properties.TimesTenConnectionConfig ttConfig) throws BroadWorksServerException, IOException
serverAddress
- The IP address or hostname of the BroadWorks server. This
might be the External Web Server, or Application Server.username
- The username to login with. The system-level administrative
username is "admin", but this can be another administrative
user, or an ordinary non-admin user.password
- The password to login with.BroadWorksServerException
IOException
@GwtIncompatible public static BroadWorksServer getBroadWorksServer(String serverAddress, String username, String password, co.ecg.utilities.properties.TimesTenConnectionConfig ttConfig, String sessionId) throws BroadWorksServerException, IOException
serverAddress
- The IP address or hostname of the BroadWorks server. This
might be the External Web Server, or Application Server.username
- The username to login with. The system-level administrative
username is "admin", but this can be another administrative
user, or an ordinary non-admin user.password
- The password to login with.sessionId
- The session id for the BroadWorks connection.BroadWorksServerException
IOException
@GwtIncompatible public RequestBundler getRequestBundler()
RequestBundler
instance for this BroadWorksServer@GwtIncompatible public boolean clearCache()
@GwtIncompatible public void close() throws BroadWorksServerException
BroadWorksServerException
public long getLastRequestTime()
@GwtIncompatible public OCSClient getOCSClient()
@GwtIncompatible public org.apache.jcs.JCS getResponseCache()
public String getServerAddress()
public String getSessionId()
public String getSignedInUserId()
@GwtIncompatible public void packetLimit()
public void setLastRequestTime()
public co.ecg.utilities.properties.TimesTenConnectionConfig getTimesTenConfig()
public void setTimesTenConfig(co.ecg.utilities.properties.TimesTenConnectionConfig timestenConfig)
Copyright © 2016 ECG. All rights reserved.