updated to match service API changes

This commit is contained in:
Jeff Hill
2001-04-20 00:46:18 +00:00
parent c6d116d1e8
commit a42a95f60a
6 changed files with 82 additions and 23 deletions

View File

@@ -43,7 +43,7 @@ dbChannelIO::dbChannelIO ( cacChannelNotify &notify,
void dbChannelIO::initiateConnect ()
{
this->notify ().connectNotify ( *this );
this->notify ().connectNotify ();
}
dbChannelIO::~dbChannelIO ()
@@ -52,10 +52,10 @@ dbChannelIO::~dbChannelIO ()
}
cacChannel::ioStatus dbChannelIO::read ( unsigned type,
unsigned long count, cacDataNotify &notify, ioid * )
unsigned long count, cacReadNotify &notify, ioid * )
{
this->serviceIO.callReadNotify ( this->addr,
type, count, 0, notify );
type, count, notify );
return iosSynch;
}
@@ -72,7 +72,7 @@ void dbChannelIO::write ( unsigned type, unsigned long count, const void *pValue
}
cacChannel::ioStatus dbChannelIO::write ( unsigned type, unsigned long count,
const void *pValue, cacNotify &notify, ioid *pId )
const void *pValue, cacWriteNotify &notify, ioid *pId )
{
if ( count > LONG_MAX ) {
throw outOfBounds();
@@ -89,7 +89,7 @@ void dbChannelIO::putNotifyCompletion ( dbPutNotifyBlocker &blocker )
}
void dbChannelIO::subscribe ( unsigned type, unsigned long count,
unsigned mask, cacDataNotify &notify, ioid *pId )
unsigned mask, cacStateNotify &notify, ioid *pId )
{
if ( type > INT_MAX ) {
throw cacChannel::badType();