public class BroadWorksServer extends Object
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 o) |
static BroadWorksServer |
getBroadWorksServer(String serverAddress,
String username,
String password)
Delegate factory method for the creation of a BroadWorksServer.
|
static BroadWorksServer |
getBroadWorksServer(String serverAddress,
String username,
String password,
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() |
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.
|
public String sessionId
public RequestBundler getRequestBundler()
RequestBundler
instance for this BroadWorksServerpublic static BroadWorksServer getBroadWorksServer(String serverAddress, String username, String password) throws BroadWorksServerException
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
public static BroadWorksServer getBroadWorksServer(String serverAddress, String username, String password, String sessionId) throws BroadWorksServerException
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
public boolean clearCache()
public void close() throws BroadWorksServerException
BroadWorksServerException
public long getLastRequestTime()
public OCSClient getOCSClient()
public org.apache.jcs.JCS getResponseCache()
public String getServerAddress()
public String getSessionId()
public String getSignedInUserId()
public void packetLimit()
public void setLastRequestTime()
Copyright © 2016 ECG, Inc. All rights reserved.