code: public OutputStream getNamedPipeOutputStream() throws IOException {
          if( pipeOut == null ) {
              if(( pipeType & PIPE_TYPE_CALL ) == PIPE_TYPE_CALL ||
                      ( pipeType & PIPE_TYPE_TRANSACT ) == PIPE_TYPE_TRANSACT ) {
                  pipeOut = new TransactNamedPipeOutputStream( this );
              } else {
                  pipeOut = new SmbFileOutputStream(this, false,
                              (pipeType & 0xFFFF00FF) | SmbFile.O_EXCL );
              }
          }
          return pipeOut;
      }
docs: Return the <code>OutputStream</code> used to write
  information to this pipe instance. The act of writing data
  to this stream will result in response data recieved in the
  <code>InputStream</code> associated with this Named Pipe
  instance (unless of course it does not elicite a response or the pipe is write-only).