Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 9236

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<html>
<head>
<title>class StreamPipe</title>
<link rel="stylesheet" type="text/css" href="../../cpp.css">
</head>
<body>
<div id="adc-cppref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0">
<tr align="center" valign="top">
<td class="navimain">&nbsp;<a href="../../index.html">Overview</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="index.html">Namespace</a>&nbsp;</td>
<td class="navimainself">&nbsp;Class&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../index-files/index-1.html">Index</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../help.html">Help</a>&nbsp;</td>
</tr>
</table>
<table class="navisub" cellpadding="0" cellspacing="3">
<tr>
<td width="20%"><font size="-2">PUBLIC MEMBERS:</font></td>
<td>
&nbsp;<font size="-2">CLASSES</font>
|&nbsp;<font size="-2">STRUCTS</font>
|&nbsp;<font size="-2">UNIONS</font>
|&nbsp;<font size="-2">ENUMS</font>
|&nbsp;<font size="-2">TYPEDEFS</font>
|&nbsp;<a href="#publ_ops"><font size="-2"><b>METHODS</b></font></a>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<font size="-2">DATA</font>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
</table>
<hr>
<a href="../../names/index.html" alt="Global Namespace in C++"><font size="+1"><b>::</b></font></a> <a href="index.html" alt="namespace"><font size="+1"><b>osl</b></font></a><font size="+1"> :: </font><div class="title"><h2>class StreamPipe</h2>
</div><hr>
<dl>
<dt>Base Classes</dt>
<dd><pre style="font-family:monospace;">
<span class="btpubl"><a href="c-Pipe.html">Pipe</a> (public)</span>
  |  
  +--<span class="btself">StreamPipe</span>
</pre></dd>
</dl>
<dl>
<dt>Known Derived Classes</dt>
<dd>None.</dd>
</dl>
<br>
<table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="25%" class="flagname">virtual</td>
<td width="25%" class="flagname">abstract</td>
<td width="25%" class="flagname">interface</td>
<td width="25%" class="flagname">template</td>
</tr>
<tr>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<dl>
<dt>Summary</dt>
<dd>A pipe to send or receive a stream of data.
</dd>
</dl>
<dl>
<dt>File</dt>
<dd>pipe_decl.hxx</dd>
</dl>
<hr>
<dl>
<dt class="subtitle"><a name="publ_"><h3>Public Members</h3>
</a></dt>
<dd><a name="publ_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Methods</h4>
</td>
</tr>
<tr>
<td> <br>
<a href="StreamPipe/o.html#StreamPipe-475">StreamPipe</a>( );</td>
<td width="50%"> </td>
</tr>
<tr>
<td> <br>
<a href="StreamPipe/o.html#StreamPipe-476">StreamPipe</a>( oslPipe Pipe );</td>
<td width="50%"> Creates pipe as wrapper around the underlying oslPipe.
</td>
</tr>
<tr>
<td> <br>
<a href="StreamPipe/o.html#StreamPipe-477">StreamPipe</a>( const StreamPipe &amp; Pipe );</td>
<td width="50%"> Copy constructor.
</td>
</tr>
<tr>
<td> <br>
<a href="StreamPipe/o.html#StreamPipe-478">StreamPipe</a>( const ::rtl::OUString &amp; strName, oslPipeOptions Options = osl_Pipe_OPEN );</td>
<td width="50%"> Creates a pipe.
</td>
</tr>
<tr>
<td> <br>
<a href="StreamPipe/o.html#StreamPipe-479">StreamPipe</a>( const ::rtl::OUString &amp; strName, oslPipeOptions Options, const Security &amp; rSec );</td>
<td width="50%"> Creates a pipe.
</td>
</tr>
<tr>
<td> <br>
<a href="StreamPipe/o.html#StreamPipe-480">StreamPipe</a>( oslPipe pipe, __sal_NoAcquire noacquire );</td>
<td width="50%"> Constructs a Pipe reference without acquiring the handle
</td>
</tr>
<tr>
<td>StreamPipe &amp; <br>
<a href="StreamPipe/o.html#operator=-481">operator=</a>( oslPipe Pipe );</td>
<td width="50%"> </td>
</tr>
<tr>
<td>StreamPipe &amp; <br>
<a href="StreamPipe/o.html#operator=-482">operator=</a>( const Pipe &amp; pipe );</td>
<td width="50%"> Assignment operator
</td>
</tr>
<tr>
<td>sal_Int32 <br>
<a href="StreamPipe/o.html#recv-483">recv</a>( void * pBuffer, sal_Int32 BytesToRead ) const;</td>
<td width="50%"> Tries to receives BytesToRead data from the connected pipe,

</td>
</tr>
<tr>
<td>sal_Int32 <br>
<a href="StreamPipe/o.html#send-484">send</a>( const void * pBuffer, sal_Int32 BytesToSend ) const;</td>
<td width="50%"> Tries to sends BytesToSend data from the connected pipe.

</td>
</tr>
<tr>
<td>sal_Int32 <br>
<a href="StreamPipe/o.html#read-485">read</a>( void * pBuffer, sal_Int32 n ) const;</td>
<td width="50%"> Retrieves n bytes from the stream and copies them into pBuffer.
The method avoids incomplete reads due to packet boundaries.        
</td>
</tr>
<tr>
<td>sal_Int32 <br>
<a href="StreamPipe/o.html#write-486">write</a>( const void * pBuffer, sal_Int32 n ) const;</td>
<td width="50%"> Writes n bytes from pBuffer to the stream. The method avoids 
incomplete writes due to packet boundaries.
</td>
</tr>
</table>
<hr>
</dd>
</dl>
<a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2008 Sun Microsystems, Inc.</p>

</div> <!-- id="adc-cppref" -->
</body>

</html>