Collage  0.6.1
Public Member Functions
co::CustomOCommand Class Reference

A class for sending custom commands and data to local & external nodes. More...

#include <customOCommand.h>

+ Inheritance diagram for co::CustomOCommand:
+ Collaboration diagram for co::CustomOCommand:

List of all members.

Public Member Functions

CO_API CustomOCommand (const Connections &receivers, const uint128_t &commandID)
 Construct a command dispatched to a remote LocalNode custom command handler.
CO_API CustomOCommand (LocalNodePtr localNode, const uint128_t &commandID)
 Construct a command dispatched to a local custom command handler.
CO_API CustomOCommand (const CustomOCommand &rhs)
virtual CO_API ~CustomOCommand ()
 Send or dispatch this command during destruction.

Detailed Description

A class for sending custom commands and data to local & external nodes.

See also:
co::OCommand

Definition at line 34 of file customOCommand.h.


Constructor & Destructor Documentation

CO_API co::CustomOCommand::CustomOCommand ( const Connections receivers,
const uint128_t &  commandID 
)

Construct a command dispatched to a remote LocalNode custom command handler.

Parameters:
receiverslist of connections where to send the command to.
commandIDthe custom command identifier
CO_API co::CustomOCommand::CustomOCommand ( LocalNodePtr  localNode,
const uint128_t &  commandID 
)

Construct a command dispatched to a local custom command handler.

Parameters:
localNodethe local node that holds the command cache.
commandIDthe custom command identifier
virtual CO_API co::CustomOCommand::~CustomOCommand ( ) [virtual]

Send or dispatch this command during destruction.


The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:44 for Collage 0.6.1 by  doxygen 1.7.6.1