ParkNPark.interfaces
Interface ClientManagerFactoryOperations

All Known Subinterfaces:
ClientManagerFactory
All Known Implementing Classes:
_ClientManagerFactoryStub, ClientManagerFactoryImpl, ClientManagerFactoryPOA

public interface ClientManagerFactoryOperations

The main interface that the client uses to communicate with the server


Method Summary
 ClientManager getClientManager()
          Creates a new client manager instance for a new client
 ClientManager getExistingClientManager(int clientID)
          Returns the existing client manager instance for an existing client.
 void poke()
          The poke method
 

Method Detail

getClientManager

ClientManager getClientManager()
                               throws ServiceUnavailableException
Creates a new client manager instance for a new client

Returns:
A new client manager instance for a new client [Category: Dependability; Requirement: not set yet]
Throws:
ServiceUnavailableException - Thrown if the database cannot be contacted or if some other reason prevents the client manager from being created successfully

getExistingClientManager

ClientManager getExistingClientManager(int clientID)
                                       throws ServiceUnavailableException,
                                              InvalidClientException
Returns the existing client manager instance for an existing client. A client can call this method with its client ID and last sequence number on any server and should get its client manager instance

Parameters:
clientID - The ID of the client to get the ClientManager of
Returns:
The existing client manager instance for an existing client [Category: Dependability; Requirement: not set yet]
Throws:
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

poke

void poke()
          throws ServiceUnavailableException
The poke method

Throws:
ServiceUnavailableException