Scopira 20080306

scopira::agent::recv_msg Class Reference

#include <context.h>

Inheritance diagram for scopira::agent::recv_msg:
scopira::tool::bin64iflow scopira::tool::biniflow scopira::tool::itflow_i scopira::tool::iflow_i scopira::tool::flow_i scopira::tool::object

List of all members.

Public Member Functions

 recv_msg (scopira::agent::task_context &ctx, scopira::tool::uuid src)
 recv_msg (scopira::agent::task_context &ctx, int src)
 recv_msg (scopira::agent::task_context &ctx, const uuid_query &Q)
virtual ~recv_msg ()
 dtor
scopira::tool::uuid get_source (void) const

Detailed Description

A recv msg.

Author:
Aleksander Demko

Constructor & Destructor Documentation

scopira::agent::recv_msg::recv_msg ( scopira::agent::task_context ctx,
scopira::tool::uuid  src 
)

Prepare and receive a msg in a transaction.

ctx the context. src the source UUID youd like to check for messages from. A zero UUID implies that any source (in the universe) would be fine (in which case, use get_source() to find the actual source.

Author:
Aleksander Demko
scopira::agent::recv_msg::recv_msg ( scopira::agent::task_context ctx,
int  src 
)

Prepare and receive a msg in a transaction. Group edition.

ctx the context. src the source index youd lke to receive from, or -1 for "any in your group"

Author:
Aleksander Demko
scopira::agent::recv_msg::recv_msg ( scopira::agent::task_context ctx,
const uuid_query Q 
)

Prepare and receive a msg in a transaction.

ctx the context. src is the query you'd like to match (ie. this is the most general version)

Author:
Aleksander Demko

Member Function Documentation

scopira::tool::uuid scopira::agent::recv_msg::get_source ( void  ) const [inline]

Gets the source UUID of the msg.

Author:
Aleksander Demko

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