many, many changes

This commit is contained in:
Jeff Hill
2000-08-25 01:52:33 +00:00
parent 0bf430d822
commit f830e99e58
58 changed files with 6266 additions and 4410 deletions

View File

@@ -11,6 +11,8 @@
*/
#include "iocinf.h"
#include "netReadCopyIO_IL.h"
#include "nciu_IL.h"
tsFreeList < class netReadCopyIO, 1024 > netReadCopyIO::freeList;
@@ -24,12 +26,13 @@ netReadCopyIO::netReadCopyIO ( nciu &chanIn, unsigned typeIn, unsigned long coun
netReadCopyIO::~netReadCopyIO ()
{
}
void netReadCopyIO::disconnect ( const char *pHostName )
{
this->exceptionNotify ( ECA_DISCONN, pHostName );
delete this;
this->baseNMIU::destroy ();
}
void netReadCopyIO::completionNotify ()
@@ -48,7 +51,7 @@ void netReadCopyIO::completionNotify ( unsigned typeIn,
memcpy ( this->pValue, pDataIn,
dbr_size_n ( typeIn, countIn ) );
# endif
chan.decrementOutstandingIO (this->seqNumber);
this->chan.decrementOutstandingIO (this->seqNumber);
}
else {
this->exceptionNotify ( ECA_INTERNAL, "bad data type in message" );
@@ -67,13 +70,3 @@ void netReadCopyIO::exceptionNotify ( int status,
"%s type=%d count=%ld\n",
pContextIn, typeIn, countIn);
}
void * netReadCopyIO::operator new ( size_t size )
{
return netReadCopyIO::freeList.allocate ( size );
}
void netReadCopyIO::operator delete ( void *pCadaver, size_t size )
{
netReadCopyIO::freeList.release ( pCadaver, size );
}