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:
[legend]
Collaboration diagram for MessageDispatcher:
[legend]

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

RexxMessagemessage
 
- Protected Attributes inherited from ActivityDispatcher
RexxActivityactivity
 
RexxNativeActivationactivation
 

Additional Inherited Members

- Public Attributes inherited from ActivityDispatcher
wholenumber_t rc
 
RexxDirectoryconditionData
 

Detailed Description

Definition at line 47 of file MessageDispatcher.hpp.

Constructor & Destructor Documentation

◆ MessageDispatcher()

MessageDispatcher::MessageDispatcher ( RexxMessage m)
inline

Definition at line 50 of file MessageDispatcher.hpp.

◆ ~MessageDispatcher()

virtual MessageDispatcher::~MessageDispatcher ( )
inlinevirtual

Definition at line 51 of file MessageDispatcher.hpp.

Member Function Documentation

◆ handleError()

void MessageDispatcher::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.

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

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
protected

Definition at line 57 of file MessageDispatcher.hpp.

Referenced by handleError(), and run().


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