[#BloombergLP-balb-PipeControlChannel-2constructor-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/PipeControlChannel.adoc[PipeControlChannel]::PipeControlChannel
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;balb&lowbar;pipecontrolchannel&period;h&gt;`

Create a pipe control mechanism that dispatches to the given callback&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balb/PipeControlChannel/2constructor-01.adoc[PipeControlChannel](
    xref:BloombergLP/balb/PipeControlChannel/ControlCallback.adoc[ControlCallback] const& callback,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balb/PipeControlChannel/2constructor-01.adoc[_» more&period;&period;&period;_]#

Create a pipe control mechanism with an explicit permissions mask&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balb/PipeControlChannel/2constructor-0a.adoc[PipeControlChannel](
    xref:BloombergLP/balb/PipeControlChannel/ControlCallback.adoc[ControlCallback] const& callback,
    int permissions,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balb/PipeControlChannel/2constructor-0a.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *callback*
| functor invoked for each control message
| *basicAllocator*
| memory allocator&semi; null uses the default
| *permissions*
| permission bit mask for the named pipe
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
