hpx/parcelset_base/parcelset_base_fwd.hpp

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace parcelset

Typedefs

using parcel_write_handler_type = hpx::function<void(std::error_code const&, parcelset::parcel const&)>

The type of a function that can be registered as a parcel write handler using the function hpx::set_parcel_write_handler.

Note

A parcel write handler is a function which is called by the parcel layer whenever a parcel has been sent by the underlying networking library and if no explicit parcel handler function was specified for the parcel.

Enums

enum parcelport_background_mode

Type of background work to perform.

Values:

parcelport_background_mode_flush_buffers = 0x01

perform buffer flush operations

parcelport_background_mode_send = 0x03

perform send operations (includes buffer flush)

parcelport_background_mode_receive = 0x04

perform receive operations

parcelport_background_mode_all = 0x07

perform all operations