19 #ifndef INCLUDED_OSL_PIPE_DECL_HXX 20 #define INCLUDED_OSL_PIPE_DECL_HXX 74 inline bool SAL_CALL
is()
const;
84 inline bool create( const ::rtl::OUString & strName,
99 inline void SAL_CALL
clear();
114 inline bool SAL_CALL
isValid()
const;
120 inline void SAL_CALL
close();
195 inline sal_Int32 SAL_CALL recv(
void* pBuffer, sal_Int32 BytesToRead)
const;
204 inline sal_Int32 SAL_CALL send(
const void* pBuffer, sal_Int32 BytesToSend)
const;
214 inline sal_Int32 SAL_CALL read(
void* pBuffer, sal_Int32 n)
const;
223 sal_Int32 SAL_CALL write(
const void* pBuffer, sal_Int32 n)
const;
Pipe()
Does not create a pipe.
Definition: pipe.hxx:31
A pipe to send or receive a stream of data.
Definition: pipe_decl.hxx:139
oslPipeError
Definition: pipe.h:34
void clear()
releases the underlying handle
Definition: pipe.hxx:124
bool operator==(const Pipe &rPipe) const
Definition: pipe.hxx:112
sal_uInt32 oslPipeOptions
Definition: pipe.h:49
void close()
Closes the pipe.
Definition: pipe.hxx:118
#define osl_Pipe_OPEN
Definition: pipe.h:50
bool isValid() const
Checks if the pipe is valid.
__sal_NoAcquire
Definition: types.h:384
bool is() const
Definition: pipe.hxx:106
~Pipe()
Destructor.
Definition: pipe.hxx:67
oslPipe getHandle() const
Definition: pipe.hxx:150
oslPipeError accept(StreamPipe &Connection)
Accept connection on an existing pipe.
Definition: pipe.hxx:134
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:74
oslPipe m_handle
Definition: pipe_decl.hxx:35
oslPipeError getError() const
Delivers a constant describing the last error for the pipe system.
Definition: pipe.hxx:144
Represents a pipe.
Definition: pipe_decl.hxx:32
Pipe & operator=(const Pipe &pipe)
Assignment operator.
Definition: pipe.hxx:88
Definition: conditn.hxx:32
capsulate security information for one user.
Definition: security_decl.hxx:34
struct oslPipeImpl * oslPipe
Definition: pipe.h:53