client/I_Callback.h

Go to the documentation of this file.
00001 /*-----------------------------------------------------------------------------
00002 Name:      I_Callback.h
00003 Project:   xmlBlaster.org
00004 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
00005 Comment:   Helper to easy get the callback messages
00006 -----------------------------------------------------------------------------*/
00007 
00008 #ifndef _CLIENT_ICALLBACK_H
00009 #define _CLIENT_ICALLBACK_H
00010 
00011 #include <string>
00012 #include <client/key/UpdateKey.h>
00013 #include <client/qos/UpdateQos.h>
00014 
00015 namespace org { namespace xmlBlaster { namespace client {
00024 class Dll_Export I_Callback {
00047 public:
00048    virtual std::string update(const std::string &sessionId,
00049                        org::xmlBlaster::client::key::UpdateKey &updateKey, 
00050                        const unsigned char *content, long contentSize, 
00051                        org::xmlBlaster::client::qos::UpdateQos &updateQos) = 0;
00052 
00053    virtual ~I_Callback() // = 0;
00054    {
00055    }
00056 
00057 
00058 };
00059 }}} // namespace
00060 
00061 #endif
00062 
00063