| Overview | Namespace | Class | Index | Help |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | NO | YES | NO |
Creates an unattached pipe. You must attach the pipe to an oslPipe e.g. by using the operator=(oslPipe), before you can use the stream- functionality of the object.
| oslPipe | Pipe ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | NO | YES | NO |
Creates pipe as wrapper around the underlying oslPipe.
| Pipe |
| const StreamPipe & | Pipe ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | NO | YES | NO |
Copy constructor.
| Pipe |
| const ::rtl::OUString & | strName, |
| oslPipeOptions | Options = osl_Pipe_OPEN ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | NO | YES | NO |
Creates a pipe.
| strName | |
| Options |
| const ::rtl::OUString & | strName, |
| oslPipeOptions | Options, |
| const Security & | rSec ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | NO | YES | NO |
Creates a pipe.
| strName | |
| Options | |
| rSec |
| oslPipe | pipe, |
| __sal_NoAcquire | noacquire ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | NO | YES | NO |
Constructs a Pipe reference without acquiring the handle
| oslPipe | Pipe ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | NO | YES | NO |
Attaches the oslPipe to this object. If the object already was attached to an oslPipe, the old one will be closed and destroyed.
| Pipe. |
| const Pipe & | pipe ); |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | NO | NO | NO | NO | YES | NO |
Assignment operator
| void * | pBuffer, |
| sal_Int32 | BytesToRead ) const; |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | YES | NO | NO | NO | YES | NO |
Tries to receives BytesToRead data from the connected pipe,
| pBuffer | Points to a buffer that will be filled with the received data. |
| BytesToRead | The number of bytes to read. pBuffer must have at least this size. |
the number of received bytes.
| const void * | pBuffer, |
| sal_Int32 | BytesToSend ) const; |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | YES | NO | NO | NO | YES | NO |
Tries to sends BytesToSend data from the connected pipe.
| pBuffer | Points to a buffer that contains the send-data. |
| BytesToSend | The number of bytes to send. pBuffer must have at least this size. |
the number of transfered bytes.
| void * | pBuffer, |
| sal_Int32 | n ) const; |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | YES | NO | NO | NO | YES | NO |
Retrieves n bytes from the stream and copies them into pBuffer. The method avoids incomplete reads due to packet boundaries.
| pBuffer | receives the read data. |
| n | the number of bytes to read. pBuffer must be large enough to hold the n bytes! |
the number of read bytes. The number will only be smaller than n if an exceptional condition (e.g. connection closed) occurs.
| const void * | pBuffer, |
| sal_Int32 | n ) const; |
| virtual | abstract | const | volatile | template | static | inline | C-linkage |
| NO | NO | YES | NO | NO | NO | NO | NO |
Writes n bytes from pBuffer to the stream. The method avoids incomplete writes due to packet boundaries.
| pBuffer | contains the data to be written. |
| n | the number of bytes to write. |
the number of written bytes. The number will only be smaller than n if an exceptional condition (e.g. connection closed) occurs.
Copyright © 2003 Sun Microsystems, Inc.