Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CODEX_APSS::FailureEvent Class Reference

Special version of CODEX_Server::ServerResponseEvent for failed requests. More...

#include <FailureEvent.h>

Inheritance diagram for CODEX_APSS::FailureEvent:

Inheritance graph
[legend]
Collaboration diagram for CODEX_APSS::FailureEvent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FailureEvent (CODEX_Events::Activity *source, CODEX_Server::ServerResponseHandler *destination, const CODEX_Server::RoutingInfo &ri)
 Constructor.
virtual ~FailureEvent ()
 Virtual destructor.
const CODEX_Quorum::Messagemessage () const
 The response to send.
int server () const
 The server to contact.
bool handle ()
 This virtual method allows a derived class to call the handler for its appropriate Activity, thereby enabling the Activity to distinguish the event by overloading on type.
Activitysource ()
 The Activity that created this event.

Protected Attributes

CODEX_Quorum::Message m_message
 The response.
int m_server
 The server.
Activity * m_source
 Source of this event.

Detailed Description

Special version of CODEX_Server::ServerResponseEvent for failed requests.

Definition at line 30 of file FailureEvent.h.


Constructor & Destructor Documentation

FailureEvent::FailureEvent CODEX_Events::Activity source,
CODEX_Server::ServerResponseHandler destination,
const CODEX_Server::RoutingInfo ri
 

Constructor.

This builds the message for the response from the routing information provided.

Parameters:
source The creator of this event.
destination The event's handler.
ri The routing information needed to construct the response.

Definition at line 24 of file FailureEvent.cc.

References CODEX_Quorum::Message::fill().


The documentation for this class was generated from the following files:
Generated on Fri May 6 17:41:36 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1