Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

message_processor Class

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<
   class _Type
>
class message_processor;

_Type

The data type of the payload within messages handled by this message_processor object.

Name

Description

type

A type alias for _Type.

Name

Description

message_processor::async_send Method

When overridden in a derived class, places messages into the block asynchronously.

message_processor::sync_send Method

When overridden in a derived class, places messages into the block synchronously.

message_processor::wait Method

When overridden in a derived class, waits for all asynchronous operations to complete.

Name

Description

message_processor::process_incoming_message Method

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_processor

Header: agents.h

Namespace: concurrency

Show:
© 2014 Microsoft