BloombergLP::balb::PipeControlChannel::PipeControlChannel

Constructors

Synopses

Declared in <balb_pipecontrolchannel.h>

Create a pipe control mechanism that dispatches to the given callback.

explicit
PipeControlChannel(
    ControlCallback const& callback,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a pipe control mechanism with an explicit permissions mask.

PipeControlChannel(
    ControlCallback const& callback,
    int permissions,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
callbackfunctor invoked for each control message
basicAllocatormemory allocator; null uses the default
permissionspermission bit mask for the named pipe