Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

applicationRepository::ApplicationRepositoryImpl Class Reference

Inheritance diagram for applicationRepository::ApplicationRepositoryImpl:

Inheritance graph
[legend]
Collaboration diagram for applicationRepository::ApplicationRepositoryImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ApplicationRepositoryImpl ()
String registerApplication (byte[] app)
byte[] getApplication (String appId)

Private Attributes

long lastAppId

Detailed Description

ApplicationRepositoryImpl - Implementation of a simple Application Repository.

ApllicationRepository is used to store and retrive application by remote clients.

Author:
Andrei Goldchleger


Constructor & Destructor Documentation

applicationRepository::ApplicationRepositoryImpl::ApplicationRepositoryImpl  )  [inline]
 

Constructor.


Member Function Documentation

byte [] applicationRepository::ApplicationRepositoryImpl::getApplication String  appId  )  [inline]
 

Allows a client to retrieve an app stored at the repository.

Parameters:
appId - The id of the app to be retrieved.
Returns:
the serialized application

String applicationRepository::ApplicationRepositoryImpl::registerApplication byte[]  app  )  [inline]
 

Register a given application.

Parameters:
app - the serialized application to be registered
Returns:
an unique identifier for the application


Member Data Documentation

long applicationRepository::ApplicationRepositoryImpl::lastAppId [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Sep 6 16:13:22 2004 by doxygen 1.3.3