|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClientManagerFactoryOperations
The main interface that the client uses to communicate with the server
| Method Summary | |
|---|---|
ClientManager |
getClientManager(String hostname)
Creates a new client manager instance for a new client |
ClientManager |
getExistingClientManager(int clientID,
String hostname)
Returns the existing client manager instance for an existing client. |
void |
hoseDatabaseConnection()
Causes the server's database connection to become "hosed," meaning that it will fail to work after this method is called. |
void |
poke()
Pokes the server to see if it is still alive and that it can still communicate with the database |
| Method Detail |
|---|
ClientManager getClientManager(String hostname)
throws ServiceUnavailableException
hostname - The host name of the client
ServiceUnavailableException - Thrown if the database cannot be
contacted or if some other reason prevents the client manager from
being created successfully
ClientManager getExistingClientManager(int clientID,
String hostname)
throws ServiceUnavailableException,
InvalidClientException
clientID - The ID of the client to get the ClientManager ofhostname - The host name of the client
InvalidClientException - Thrown when the given client ID is not known to the system
ServiceUnavailableException - Thrown if the database cannot be contacted or if
some other reason prevents the client manager from being retrieved successfully
void poke()
throws ServiceUnavailableException
ServiceUnavailableException - Thrown when the server's database
connection is not workingvoid hoseDatabaseConnection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||