ParkNPark.interfaces
Class _ClientManagerFactoryStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by ParkNPark.interfaces._ClientManagerFactoryStub
All Implemented Interfaces:
Serializable, Object, IDLEntity, ClientManagerFactory, ClientManagerFactoryOperations

public class _ClientManagerFactoryStub
extends ObjectImpl
implements ClientManagerFactory

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

See Also:
Serialized Form

Field Summary
private static String[] __ids
           
 
Constructor Summary
_ClientManagerFactoryStub()
           
 
Method Summary
 String[] _ids()
           
 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
private  void readObject(ObjectInputStream s)
           
private  void writeObject(ObjectOutputStream s)
           
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Field Detail

__ids

private static String[] __ids
Constructor Detail

_ClientManagerFactoryStub

public _ClientManagerFactoryStub()
Method Detail

getClientManager

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

Specified by:
getClientManager in interface ClientManagerFactoryOperations
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

public 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

Specified by:
getExistingClientManager in interface ClientManagerFactoryOperations
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

public void poke()
          throws ServiceUnavailableException
The poke method

Specified by:
poke in interface ClientManagerFactoryOperations
Throws:
ServiceUnavailableException

_ids

public String[] _ids()
Specified by:
_ids in class ObjectImpl

readObject

private void readObject(ObjectInputStream s)
                 throws IOException
Throws:
IOException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Throws:
IOException