ooRexx  4.2.0-source
About: ooRexx (Open Object Rexx) is a free implementation of Object Rexx. Object Rexx is an enhancement of the classic Rexx interpreter; a full-featured programming language with a human-oriented syntax.
  Fossies Dox: ooRexx-4.2.0-source.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

MessageDispatcher Class Reference

#include <MessageDispatcher.hpp>

Inheritance diagram for MessageDispatcher:
Collaboration diagram for MessageDispatcher:

Public Member Functions

 MessageDispatcher (RexxMessage *m)
virtual ~MessageDispatcher ()
virtual void run ()
virtual void handleError (wholenumber_t, RexxDirectory *)
- Public Member Functions inherited from ActivityDispatcher
 ActivityDispatcher ()
virtual ~ActivityDispatcher ()
virtual void handleError (RexxDirectory *)
virtual void invoke ()
virtual void invoke (RexxOption *)
virtual void invoke (PRXSYSEXIT exits, const char *env)
void setContext (RexxActivity *act, RexxNativeActivation *a)

Protected Attributes

- Protected Attributes inherited from ActivityDispatcher

Additional Inherited Members

- Public Attributes inherited from ActivityDispatcher
wholenumber_t rc

Detailed Description

Definition at line 47 of file MessageDispatcher.hpp.

Constructor & Destructor Documentation

◆ MessageDispatcher()

MessageDispatcher::MessageDispatcher ( RexxMessage m)

Definition at line 50 of file MessageDispatcher.hpp.

◆ ~MessageDispatcher()

virtual MessageDispatcher::~MessageDispatcher ( )

Definition at line 51 of file MessageDispatcher.hpp.

Member Function Documentation

◆ handleError()

void MessageDispatcher::handleError ( wholenumber_t  r,
RexxDirectory c 

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

cThe condition information for the error.

Reimplemented from ActivityDispatcher.

Definition at line 63 of file MessageDispatcher.cpp.

References ActivityDispatcher::activation, ActivityDispatcher::activity, ActivityDispatcher::conditionData, RexxMessage::error(), RexxActivity::error(), ActivityDispatcher::handleError(), and message.

◆ run()

void MessageDispatcher::run ( )

Virtual method for handling invocation of a Message object on a new activity.

Reimplemented from ActivityDispatcher.

Definition at line 50 of file MessageDispatcher.cpp.

References message, and RexxObject::sendMessage().

Member Data Documentation

◆ message

RexxMessage* MessageDispatcher::message

Definition at line 57 of file MessageDispatcher.hpp.

Referenced by handleError(), and run().

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