Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
Pipe (public) | +--StreamPipe
virtual | abstract | interface | template |
NO | NO | NO | NO |
Methods |
|
StreamPipe( ); |
|
StreamPipe( oslPipe Pipe ); |
Creates pipe as wrapper around the underlying oslPipe. |
StreamPipe( const StreamPipe & Pipe ); |
Copy constructor. |
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 ); |
|
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. The method avoids incomplete reads due to packet boundaries. |
sal_Int32 write( const void * pBuffer, sal_Int32 n ) const; |
Writes n bytes from pBuffer to the stream. The method avoids incomplete writes due to packet boundaries. |
Copyright © 2000, 2015 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.