The message_processor class is the abstract base class for processing of message objects. There is no guarantee on the ordering of the messages.  
 More...
#include <agents.h>
 | 
| virtual void  | process_incoming_message ()=0 | 
|   | When overridden in a derived class, performs the forward processing of messages into the block. Called once every time a new message is added and the queue is found to be empty.  More...
  | 
|   | 
template<class _Type>
class Concurrency::message_processor< _Type >
The message_processor class is the abstract base class for processing of message objects. There is no guarantee on the ordering of the messages. 
- Template Parameters
 - 
  
    | _Type | The data type of the payload within messages handled by this message_processor object.  | 
  
   
- See also
 - ordered_message_processor Class
 
 
Wrapper for process_incoming_message suitable for use as a argument to CreateThread and other similar methods. 
- Parameters
 - 
  
    | _Data | A pointer to a message processor passed as a void pointer.  | 
  
   
 1995        message_processor<_Type> * _PMessageProcessor = (message_processor<_Type> *) _Data;
 
 1996        _PMessageProcessor->process_incoming_message();
 
 
 
 
When overridden in a derived class, places messages into the block asynchronously. 
- Parameters
 - 
  
    | _Msg | A message object to send asynchronously.  | 
  
   
Processor implementations should override this method. 
Implemented in Concurrency::ordered_message_processor< _Type >.
 
 
When overridden in a derived class, performs the forward processing of messages into the block. Called once every time a new message is added and the queue is found to be empty. 
Message block implementations should override this method. 
Implemented in Concurrency::ordered_message_processor< _Type >.
 
 
When overridden in a derived class, places messages into the block synchronously. 
- Parameters
 - 
  
    | _Msg | A message object to send synchronously.  | 
  
   
Processor implementations should override this method. 
Implemented in Concurrency::ordered_message_processor< _Type >.
 
 
The documentation for this class was generated from the following file: