view include/handler/IHeaderHandler.hpp @ 41:7c8cd74023ce

Rework file layout, fix build, add README and SUPPORT
author Louis Opter <kalessin@kalessin.fr>
date Mon, 22 Mar 2010 02:08:24 +0100
parents src/include/handler/IHeaderHandler.hpp@a396ce2684cd
children dad671a5f028
line wrap: on
line source

#ifndef __ZIA_API_HANDLER_IHEADERHANDLER_HPP__
# define __ZIA_API_HANDLER_IHEADERHANDLER_HPP__

# include <iostream>

# include "http/ITransaction.hpp"
# include "handler/IHandler.hpp"

namespace   zia
{
    namespace   api
    {
        namespace   handler
        {
            /**
             * @brief Interface for headers modifications.
             */
            class   IHeaderHandler : public IHandler
            {
            public:

                virtual ~IHeaderHandler(void) { }

                /**
                 * @brief Called by the server.
                 *
                 * @param [in] transac The transation associated with streams.
                 *
                 * @return an ECode.
                 *
                 * @see ITransaction
                 * @see ECode
                 */
                virtual zia::api::handler::Ecode    operator()(zia::api::http::ITransaction & transac) = 0;
            };
        };
    };
};

#endif	/* ! __ZIA_API_HANDLER_IHEADERHANDLER_HPP__ */