70 lines
1.6 KiB
C++
70 lines
1.6 KiB
C++
|
|
/* $Id$
|
|
*
|
|
* L O S A L A M O S
|
|
* Los Alamos National Laboratory
|
|
* Los Alamos, New Mexico 87545
|
|
*
|
|
* Copyright, 1986, The Regents of the University of California.
|
|
*
|
|
* Author: Jeff Hill
|
|
*/
|
|
|
|
#include "iocinf.h"
|
|
#include "netWriteNotifyIO_IL.h"
|
|
#include "nciu_IL.h"
|
|
#include "baseNMIU_IL.h"
|
|
|
|
tsFreeList < class netWriteNotifyIO, 1024 > netWriteNotifyIO::freeList;
|
|
|
|
netWriteNotifyIO::netWriteNotifyIO ( nciu &chan, cacNotify ¬ifyIn ) :
|
|
cacNotifyIO ( notifyIn ), baseNMIU ( chan )
|
|
{
|
|
}
|
|
|
|
netWriteNotifyIO::~netWriteNotifyIO ()
|
|
{
|
|
}
|
|
|
|
void netWriteNotifyIO::destroy ()
|
|
{
|
|
delete this;
|
|
}
|
|
|
|
void netWriteNotifyIO::completionNotify ()
|
|
{
|
|
this->notify ().completionNotify ( this->channelIO () );
|
|
}
|
|
|
|
void netWriteNotifyIO::completionNotify (
|
|
unsigned /* type */, unsigned long /* count */,
|
|
const void * /* pData */ )
|
|
{
|
|
this->notify ().completionNotify ( this->channelIO () );
|
|
}
|
|
|
|
void netWriteNotifyIO::exceptionNotify ( int status,
|
|
const char *pContext )
|
|
{
|
|
this->notify ().exceptionNotify ( this->channelIO (), status, pContext );
|
|
}
|
|
|
|
void netWriteNotifyIO::exceptionNotify ( int status,
|
|
const char *pContext, unsigned type, unsigned long count )
|
|
{
|
|
this->notify ().exceptionNotify ( this->channelIO (), status, pContext, type, count );
|
|
}
|
|
|
|
cacChannelIO & netWriteNotifyIO::channelIO () const
|
|
{
|
|
return this->channel ();
|
|
}
|
|
|
|
void netWriteNotifyIO::show ( unsigned level ) const
|
|
{
|
|
printf ( "read write notify IO at %p\n", this );
|
|
if ( level > 0u ) {
|
|
this->baseNMIU::show ( level - 1u );
|
|
}
|
|
}
|