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

CODEX_Server::UnicastRequestEvent Class Reference

This event encapsulates a marshalled message and the callback used to collect responses to it. More...

#include <UnicastRequestEvent.h>

Inheritance diagram for CODEX_Server::UnicastRequestEvent:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Server::UnicastRequestEvent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UnicastRequestEvent (CODEX_Events::Activity *source, UnicastRequestHandler *destination, const CODEX_Quorum::MessageVector &messages, const unsigned char *key, CODEX_Quorum::ResponseCallback *cb)
 Constructor.
virtual ~UnicastRequestEvent ()
 Virtual destructor.
const CODEX_Quorum::MessageVectormessages () const
 The marshalled message, with headers.
const unsigned char * key () const
 The key registered for this request.
CODEX_Quorum::ReturnVectorretVals ()
 The vector of CODEX_Quorum::RemoteServerReturns.
CODEX_Quorum::ResponseCallbackcb () const
 The callback that should handle responses to the message.
bool bcast () const
 Has this event been unicast once?
void setBcast ()
 Make note that this event has been unicast once already.
unsigned long time () const
 The time (in seconds) of the last broadcast attempt.
void updateTime (unsigned long time)
 Update the time of the last broadcast attempt.
bool handle ()
 Handle this event.
Activitysource ()
 The Activity that created this event.

Protected Attributes

Activity * m_source
 Source of this event.

Detailed Description

This event encapsulates a marshalled message and the callback used to collect responses to it.

Definition at line 38 of file UnicastRequestEvent.h.


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