3 #ifndef INCLUDED_OSL_PIPE_DECL_HXX 4 #define INCLUDED_OSL_PIPE_DECL_HXX 44 #if defined LIBO_INTERNAL_ONLY 61 inline bool SAL_CALL
is()
const;
86 inline void SAL_CALL
clear();
93 #if defined LIBO_INTERNAL_ONLY 105 inline bool SAL_CALL
isValid()
const;
111 inline void SAL_CALL
close();
184 inline sal_Int32 SAL_CALL recv(
void* pBuffer, sal_Int32 BytesToRead)
const;
194 inline sal_Int32 SAL_CALL send(
const void* pBuffer, sal_Int32 BytesToSend)
const;
206 inline sal_Int32 SAL_CALL read(
void* pBuffer, sal_Int32 n)
const;
217 sal_Int32 SAL_CALL write(
const void* pBuffer, sal_Int32 n)
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.
Definition: pipe.hxx:63
struct oslPipeImpl * oslPipe
Definition: pipe.h:40
Represents a pipe.
Definition: pipe_decl.hxx:16
Definition: condition.hxx:11
oslPipeError accept(StreamPipe &Connection)
Accept connection on an existing pipe.
Definition: pipe.hxx:133
oslPipeError getError() const
Delivers a constant describing the last error for the pipe system.
Definition: pipe.hxx:143
void close()
Closes the pipe.
Definition: pipe.hxx:117
bool is() const
Definition: pipe.hxx:105
oslPipeError
Definition: pipe.h:17
oslPipe getHandle() const
Definition: pipe.hxx:149
bool isValid() const
Checks if the pipe is valid.
__sal_NoAcquire
Definition: types.h:332
Encapsulate security information for one user.
Definition: security_decl.hxx:18
A pipe to send or receive a stream of data.
Definition: pipe_decl.hxx:129
#define osl_Pipe_OPEN
Definition: pipe.h:37
Pipe & operator=(const Pipe &pipe)
Assignment operator.
Definition: pipe.hxx:77
Pipe()
Does not create a pipe.
Definition: pipe.hxx:15
~Pipe()
Destructor.
Definition: pipe.hxx:56
oslPipe m_handle
Definition: pipe_decl.hxx:19
sal_uInt32 oslPipeOptions
Pipe creation options.
Definition: pipe.h:36
void clear()
releases the underlying handle
Definition: pipe.hxx:123
bool operator==(const Pipe &rPipe) const
Definition: pipe.hxx:111