This class is a mechanism for reading control messages from a named pipe. Use start to spawn a thread that handles messages arriving at the pipe, and shutdown to stop reading. stop blocks until the processing thread has been terminated by a call to shutdown (either before stop is called, or from some other thread).
Synopsis
Declared in <balb_pipecontrolchannel.h>
class PipeControlChannel;
Type Aliases
Name |
Description |
This type of function is called to handle control messages received on the pipe. The |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. Shut down the processing thread if it is still running and block until it terminates. Close the named pipe and clean up any associated system resources. |
Return the allocator used by this object to supply memory. Note that if no allocator was supplied at construction the default allocator in effect at construction is used. |
|
Return the permission bit mask that will be applied to the named pipe on the next call to |
|
Return the fully qualified system name of the pipe. |
|
Set the permission bit mask for the underlying named pipe to the specified |
|
Stop reading from the pipe and dispatching messages. If the background thread has begun processing a message, this method will block until a message that is currently being processed completes. |
|
|
|
Block until the background thread has been terminated by a call to |
Static Data Members
Name |
Description |
The default permission bit mask for the underlying named pipe (read/write for owner, group, and others). |
Created with MrDocs