Create a pipe control mechanism that dispatches messages to the specified callback and creates its underlying named pipe with the specified permissions bit mask. Optionally specify basicAllocator to supply memory. If basicAllocator is zero, the currently installed default allocator is used. The behavior is undefined unless bdls::FilePermissions::isValidBaseBits(permissions) (i.e., unless permissions is a combination of the nine owner/group/others read/write/execute bits defined by bdls::FilePermissions; note that k_SET_UID, k_SET_GID, and k_STICKY_BIT are not accepted). On operating systems that do not support Unix-style permission bits (notably Windows) the value is ignored and falls back to the operating-system default (see the component-level documentation for details).
Declared in <balb_pipecontrolchannel.h>
PipeControlChannel(
ControlCallback const& callback,
int permissions,
bslma::Allocator* basicAllocator = 0);