Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions
Arc::MCCInterface Class Reference

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

#include <MCC.h>

Inheritance diagram for Arc::MCCInterface:
Inheritance graph
Collaboration diagram for Arc::MCCInterface:
Collaboration graph

List of all members.

Public Member Functions

virtual MCC_Status process (Message &request, Message &response)=0
 Method for processing of requests and responses.
virtual ~MCCInterface ()

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.

Definition at line 19 of file MCC.h.

Constructor & Destructor Documentation

virtual Arc::MCCInterface::~MCCInterface ( ) [inline, virtual]

Definition at line 37 of file MCC.h.


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.

requestThe request that needs to be processed.
responseA Message object that will contain the response of the request when the method returns.
An object representing the status of the call.

Implemented in ARex::ARexService, Arc::MCC, Arc::MCC_TCP_Client, ISIS::ISIService, MyRegisteredService, Arc::MCC_TCP_Service, Arc::MCC_TLS_Client, Arc::MCC_HTTP_Client, GridScheduler::GridSchedulerService, Arc::Plexer, Arc::MCC_TLS_Service, Arc::MCC_SOAP_Client, Arc::MCC_HTTP_Service, ArcSec::Charon, Paul::PaulService, Echo::Service_Echo, ARex2::ARex2Service, ArcSec::Service_Delegation, SPService::Service_SP, Arc::MCC_GSI_Client, Arc::MCC_SOAP_Service, Arc::Service_JavaWrapper, DirectMCC, Arc::MCC_MsgValidator_Service, ArcSec::Service_SLCS, Compiler::Service_Compiler, ArcSec::Service_AA, Hopi::Hopi, Arc::Service_PythonWrapper, and Arc::MCC_GSI_Service.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: