view include/handler/IHeaderHandler.hpp @ 46:dad671a5f028

Corrections de typos, d'orthograffe et de formulations.
author David Pineau <dav.pineau@gmail.com>
date Mon, 22 Mar 2010 17:39:10 +0100
parents 7c8cd74023ce
children 22e5b6fb552f
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 transaction associated with the 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__ */