Arc::MCCInterface Class Reference

Interface for communication between MCC, Service and Plexer objects. More...

#include <MCC.h>

Inheritance diagram for Arc::MCCInterface:
Arc::Plugin Arc::MCC Arc::Service Arc::Plexer Arc::RegisteredService

Public Member Functions

virtual MCC_Status process (Message &request, Message &response)=0

Detailed Description

Interface for communication between MCC, Service and Plexer objects.

The Interface consists of the method process() which is called by the previous MCC in the chain. For memory management policies please read the description of the Message class.


Member Function Documentation

virtual MCC_Status Arc::MCCInterface::process ( Message request,
Message response 
) [pure virtual]

Method for processing of requests and responses. This method is called by preceeding MCC in chain when a request needs to be processed. This method must call similar method of next MCC in chain unless any failure happens. Result returned by call to next MCC should be processed and passed back to previous MCC. In case of failure this method is expected to generate valid error response and return it back to previous MCC without calling the next one.

Parameters:
request The request that needs to be processed.
response A Message object that will contain the response of the request when the method returns.
Returns:
An object representing the status of the call.

Implemented in Arc::MCC, and Arc::Plexer.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:24 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3