Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CODEX_Server::DefaultShareCallback< _ShareType, _OneWay > Class Template Reference

ServerState's default share callback. More...

#include <ShareCallback.h>

Inheritance diagram for CODEX_Server::DefaultShareCallback< _ShareType, _OneWay >:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Server::DefaultShareCallback< _ShareType, _OneWay >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CODEX_VSS::LabeledShare<
_ShareType, _OneWay > 
LSType
 Convenient shorthand for the type of a labeled share.
typedef LSType::LabelType LabelType
 Convenient shorthand for the type of a label.
typedef _ShareType ShareType
 Export the type of the sharing.
typedef _OneWay OneWay
 Export the type of the one-way function.

Public Member Functions

 DefaultShareCallback (const LSType *ls)
 Constructor.
virtual ~DefaultShareCallback ()
 Virtual destructor.
const LSTypeoperator() (const LabelType &label, unsigned int server) const
 Get the sharing for a specified label.

Detailed Description

template<class _ShareType, class _OneWay>
class CODEX_Server::DefaultShareCallback< _ShareType, _OneWay >

ServerState's default share callback.

During configuration, ServerState creates default callbacks for its secrets until they can be taken over by another module.

Definition at line 68 of file ShareCallback.h.


Member Function Documentation

template<class _ShareType, class _OneWay>
const LSType& CODEX_Server::DefaultShareCallback< _ShareType, _OneWay >::operator() const LabelType label,
unsigned int  server
const [inline, virtual]
 

Get the sharing for a specified label.

This method should be implemented by a derived class.

Parameters:
label The label of the sharing to retrieve.
server The requesting server.
Returns:
The corresponding labeled sharing.

Implements CODEX_Server::ShareCallbackBase< _ShareType, _OneWay >.

Definition at line 86 of file ShareCallback.h.


The documentation for this class was generated from the following file:
Generated on Fri May 6 17:42:48 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1