Skip to content

Commit

Permalink
[XrdCl] Record plugin: support VectorWrite.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jan 26, 2022
1 parent ab7d583 commit 8104281
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/XrdApps/RecordPlugin/XrdClRecorder.hh
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,18 @@ public:
return file.VectorRead(chunks, buffer, recHandler, timeout);
}

//----------------------------------------------------------------------------
//! VectorRead
//----------------------------------------------------------------------------
virtual XRootDStatus VectorWrite( const ChunkList &chunks,
ResponseHandler *handler,
uint16_t timeout )
{
std::unique_ptr<Action> ptr( new VectorWriteAction( this, chunks, timeout ) );
RecordHandler *recHandler = new RecordHandler( output, std::move( ptr ), handler );
return file.VectorWrite( chunks, recHandler, timeout );
}

//----------------------------------------------------------------------------
//! Fcntl
//----------------------------------------------------------------------------
Expand Down

0 comments on commit 8104281

Please sign in to comment.