|
| | StreamPipe () |
| | Creates an unattached pipe.
|
| | StreamPipe (oslPipe Pipe) |
| | Creates pipe as wrapper around the underlying oslPipe.
|
| | StreamPipe (const ::rtl::OUString &strName, oslPipeOptions Options=osl_Pipe_OPEN) |
| | Creates a pipe.
|
| | StreamPipe (const ::rtl::OUString &strName, oslPipeOptions Options, const Security &rSec) |
| | Creates a pipe.
|
| | StreamPipe (oslPipe pipe, __sal_NoAcquire noacquire) |
| | Constructs a Pipe reference without acquiring the handle.
|
| StreamPipe & | operator= (oslPipe Pipe) |
| | Attaches the oslPipe to this object.
|
| StreamPipe & | operator= (const Pipe &pipe) |
| | Assignment operator.
|
| sal_Int32 | recv (void *pBuffer, sal_Int32 BytesToRead) const |
| | Tries to receives BytesToRead data from the connected pipe,.
|
| sal_Int32 | send (const void *pBuffer, sal_Int32 BytesToSend) const |
| | Tries to sends BytesToSend data from the connected pipe.
|
| sal_Int32 | read (void *pBuffer, sal_Int32 n) const |
| | Retrieves n bytes from the stream and copies them into pBuffer.
|
| sal_Int32 | write (const void *pBuffer, sal_Int32 n) const |
| | Writes n bytes from pBuffer to the stream.
|
| | Pipe () |
| | Does not create a pipe.
|
| | Pipe (const ::rtl::OUString &strName, oslPipeOptions Options) |
| | Creates an insecure pipe that is accessible for all users.
|
| | Pipe (const ::rtl::OUString &strName, oslPipeOptions Options, const Security &rSecurity) |
| | Creates a secure pipe that access depends on the umask settings.
|
| | Pipe (const Pipe &pipe) |
| | Copy constructor.
|
| | Pipe (oslPipe pipe, __sal_NoAcquire noacquire) |
| | Constructs a Pipe reference without acquiring the handle.
|
| | Pipe (oslPipe Pipe) |
| | Creates pipe as wrapper around the underlying oslPipe.
|
| | ~Pipe () |
| | Destructor.
|
| bool | is () const |
| bool | create (const ::rtl::OUString &strName, oslPipeOptions Options, const Security &rSec) |
| | Creates an insecure pipe that is accessible for all users with the given attributes.
|
| bool | create (const ::rtl::OUString &strName, oslPipeOptions Options=osl_Pipe_OPEN) |
| | Creates a secure that access rights depend on the umask settings with the given attributes.
|
| void | clear () |
| | releases the underlying handle
|
| Pipe & | operator= (const Pipe &pipe) |
| | Assignment operator.
|
| Pipe & | operator= (const oslPipe pipe) |
| | Assignment operator.
|
| bool | isValid () const |
| | Checks if the pipe is valid.
|
| bool | operator== (const Pipe &rPipe) const |
| void | close () |
| | Closes the pipe.
|
| oslPipeError | accept (StreamPipe &Connection) |
| | Accept connection on an existing pipe.
|
| oslPipeError | getError () const |
| | Delivers a constant describing the last error for the pipe system.
|
| oslPipe | getHandle () const |
A pipe to send or receive a stream of data.