SenHostletConnection.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : SenHostletConnection.h
00004 *  Part of     : Web Services Hostlet Connection
00005 *  Interface   : 
00006 *  Description : CSenHostletConnection offers public API for
00007 *                applications to to provide locally, invocable
00008                  services (identified by unique endpoint URI)
00009                  to service consumers.
00010 *  Version     : 
00011 *
00012 *  Copyright © 2002-2005 Nokia. All rights reserved.
00013 *  This material, including documentation and any related 
00014 *  computer programs, is protected by copyright controlled by 
00015 *  Nokia. All rights are reserved. Copying, including 
00016 *  reproducing, storing, adapting or translating, any 
00017 *  or all of this material requires the prior written consent of 
00018 *  Nokia. This material also contains confidential 
00019 *  information which may not be disclosed to others without the 
00020 *  prior written consent of Nokia.
00021 * ==============================================================================
00022 */
00023 
00024 #ifndef SEN_HOSTLET_CONNECTION_H
00025 #define SEN_HOSTLET_CONNECTION_H
00026 
00027 //  INCLUDES
00028 #include <e32base.h> // for CActive
00029 
00030 #include <MSenHostlet.h>
00031 #include <MSenServiceDescription.h>
00032 #include <SenServiceConnection.h>
00033 #include <SenSoapEnvelope.h>
00034 #include <SenFragment.h>
00035 
00036 // CONSTANTS
00037 
00038 const TInt KErrSenEndpointReserved                   =  -30317;
00039 
00040 
00041 // FORWARD DECLARATIONS
00042 class CSenServicePattern;
00043 
00044 // CLASS DECLARATION
00045 class CSenHostletConnection : public CActive
00046     {
00047     public: // Constructors and destructor
00048 
00058         IMPORT_C static CSenHostletConnection* NewL(MSenHostlet& aProvider);
00059 
00070         IMPORT_C static CSenHostletConnection* NewLC(MSenHostlet& aProvider);
00071 
00087         virtual TInt RespondL(MSenHostletResponse& aResponse) = 0;
00088         
00089 
00090        /* Getter for full, (live) service desctiption for this hostlet connection */
00091 //       virtual TInt ServiceDescriptionL(CSenXmlServiceDescription*& apSessionDescription) = 0;
00092 
00097         virtual TInt Identifier() = 0;
00098 
00099            
00100     protected:
00104         CSenHostletConnection();
00105     
00106     };
00107 
00108 #endif //SEN_HOSTLET_CONNECTION_H
00109 
00110 // End of File
00111 

Copyright © Nokia Corporation 2001-2007
Back to top