diff --git a/src/ca/getCopy.cpp b/src/ca/getCopy.cpp index 0b317974f..d4db3499f 100644 --- a/src/ca/getCopy.cpp +++ b/src/ca/getCopy.cpp @@ -36,10 +36,20 @@ getCopy::~getCopy () { } +void getCopy::cancel () +{ + this->cacCtx.decrementOutstandingIO ( this->readSeq ); +} + +void getCopy::destroy () +{ + delete this; +} + void getCopy::completion ( unsigned typeIn, arrayElementCount countIn, const void *pDataIn ) { - if ( this->type == typeIn ) { + if ( this->type == typeIn ) { memcpy ( this->pValue, pDataIn, dbr_size_n ( typeIn, countIn ) ); this->cacCtx.decrementOutstandingIO ( this->readSeq ); }