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

SupportedClientResponseHandler.h

00001 /*
00002  * Copyright 2003 Michael A. Marsh, Cornell University. All rights reserved.
00003  * This software is released under the modified BSD license.
00004  * See the file LICENSE in the top-level directory for details.
00005  */
00006 //
00007 // $Id: SupportedClientResponseHandler.h,v 1.3 2004/05/19 15:56:53 mmarsh Exp $
00008 //
00009 // $Log: SupportedClientResponseHandler.h,v $
00010 // Revision 1.3  2004/05/19 15:56:53  mmarsh
00011 // *** empty log message ***
00012 //
00013 // Revision 1.2  2003/11/04 22:31:49  mmarsh
00014 // *** empty log message ***
00015 //
00016 //
00017 
00018 #ifndef __CODEX_KEYSERVICE_SUPPORTEDCLIENTRESPONSEHANDLER_H__
00019 #define __CODEX_KEYSERVICE_SUPPORTEDCLIENTRESPONSEHANDLER_H__
00020 
00021 #include "CODEX_Events/Activity.h"
00022 #include "SupportedClientResponseEvent.h"
00023 #include "SupportedKeyStoredEvent.h"
00024 #include "CODEX_Client/Message.h"
00025 #include "VerifiableBlindKeyMsg.h"
00026 
00027 namespace CODEX_KeyService
00028 {
00029    using namespace CODEX_Client;
00030 
00038    class SupportedClientResponseHandler : public virtual CODEX_Events::Activity
00039    {
00040       public :
00042          SupportedClientResponseHandler() :
00043             CODEX_Events::Activity( *(CODEX_Events::DeadPileType*)0,
00044                                     *(CODEX_Events::QType*)0 )
00045          {}
00046 
00048          virtual ~SupportedClientResponseHandler() {}
00049 
00051          virtual bool handler(
00052             SupportedClientResponseEvent< BoundNameMsg, SignedCreateKeyMsg >&
00053             event ) = 0;
00054 
00056          virtual bool handler( SupportedKeyStoredEvent& event ) = 0;
00057 
00059          virtual bool handler(
00060             SupportedClientResponseEvent< KeyStoredMsg, SignedWriteKeyMsg >&
00061             event ) = 0;
00062 
00064          virtual bool handler(
00065             SupportedClientResponseEvent< VerifiableBlindKeyMsg,
00066             SignedReadKeyMsg >& event ) = 0;
00067    };
00068 
00069 }
00070 
00071 #endif /* __CODEX_KEYSERVICE_SUPPORTEDCLIENTRESPONSEHANDLER_H__ */

Generated on Fri May 6 17:41:27 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1