Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound 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 Methods

 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
 
Returns:
The marshalled message, with headers.


const unsigned char * key () const
 
Returns:
The key registered for this request.


CODEX_Quorum::ReturnVectorretVals ()
 
Returns:
The vector of CODEX_Quorum::RemoteServerReturns.


CODEX_Quorum::ResponseCallbackcb () const
 
Returns:
The callback that should handle responses to the message.


bool bcast () const
 
Returns:
Has this event been unicast once?


void setBcast ()
 Make not that this event has been unicast once already.

unsigned long time () const
 
Returns:
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.


Detailed Description

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

Definition at line 35 of file UnicastRequestEvent.h.


The documentation for this class was generated from the following files:
Generated on Wed Jun 2 16:33:22 2004 for COrnell Data EXchange (CODEX) by doxygen1.2.18