CallbackDispatcher Class Reference

#include <CallbackDispatcher.hpp>

Inheritance diagram for CallbackDispatcher:
[legend]

Public Member Functions

 CallbackDispatcher ()
 
virtual ~CallbackDispatcher ()
 
virtual void run ()
 
virtual void handleError (wholenumber_t, RexxDirectory *)
 
virtual void handleError (RexxDirectory *)
 
void setContext (RexxActivity *act, RexxNativeActivation *a)
 

Public Attributes

wholenumber_t rc
 

Protected Attributes

RexxActivityactivity
 
RexxNativeActivationactivation
 
RexxDirectoryconditionData
 

Detailed Description

Definition at line 47 of file CallbackDispatcher.hpp.

Constructor & Destructor Documentation

◆ CallbackDispatcher()

CallbackDispatcher::CallbackDispatcher ( )
inline

Definition at line 50 of file CallbackDispatcher.hpp.

◆ ~CallbackDispatcher()

virtual CallbackDispatcher::~CallbackDispatcher ( )
inlinevirtual

Definition at line 51 of file CallbackDispatcher.hpp.

Member Function Documentation

◆ handleError() [1/2]

void CallbackDispatcher::handleError ( RexxDirectory c)
virtual

Default handler for any error conditions. This just sets the condition information in the dispatch unit.

Parameters
cThe condition information for the error.

Reimplemented in ContextCommandHandlerDispatcher.

Definition at line 77 of file CallbackDispatcher.cpp.

References activation, RexxNativeActivation::checkConditions(), and OREF_NULL.

◆ handleError() [2/2]

void CallbackDispatcher::handleError ( wholenumber_t  r,
RexxDirectory c 
)
virtual

Default handler for any error conditions. This just sets the condition information in the dispatch unit.

Parameters
cThe condition information for the error.

Definition at line 63 of file CallbackDispatcher.cpp.

References conditionData, and rc.

Referenced by RexxNativeActivation::run().

◆ run()

void CallbackDispatcher::run ( )
virtual

Default virtual method for handling a run() methods on an activity dispatcher.

Reimplemented in CommandHandlerDispatcher, ContextCommandHandlerDispatcher, ExitHandlerDispatcher, ContextExitHandlerDispatcher, LibraryLoaderDispatcher, and LibraryUnloaderDispatcher.

Definition at line 51 of file CallbackDispatcher.cpp.

Referenced by RexxNativeActivation::run().

◆ setContext()

void CallbackDispatcher::setContext ( RexxActivity act,
RexxNativeActivation a 
)
inline

Definition at line 57 of file CallbackDispatcher.hpp.

References activation, and activity.

Referenced by RexxNativeActivation::run().

Member Data Documentation

◆ activation

◆ activity

RexxActivity* CallbackDispatcher::activity
protected

◆ conditionData

RexxDirectory* CallbackDispatcher::conditionData
protected

Definition at line 64 of file CallbackDispatcher.hpp.

Referenced by handleError().

◆ rc

wholenumber_t CallbackDispatcher::rc

Definition at line 59 of file CallbackDispatcher.hpp.

Referenced by handleError().


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