From be42414408d9ad37c7feaba41bff7b4265fb11c0 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 20 Nov 2000 17:41:20 +0000 Subject: [PATCH] removed factory code --- src/ca/netReadNotifyIO_IL.h | 18 ------------------ src/ca/netWriteNotifyIO_IL.h | 19 ------------------- 2 files changed, 37 deletions(-) diff --git a/src/ca/netReadNotifyIO_IL.h b/src/ca/netReadNotifyIO_IL.h index 7978c8651..c4b284a4b 100644 --- a/src/ca/netReadNotifyIO_IL.h +++ b/src/ca/netReadNotifyIO_IL.h @@ -28,22 +28,4 @@ inline void netReadNotifyIO::operator delete ( void *pCadaver, size_t size ) netReadNotifyIO::freeList.release ( pCadaver, size ); } -// -// we need to be careful about exporting a raw IO -// pointer because the IO object may be deleted -// at any time when the channel disconnects or the -// IO completes -// -//inline bool netReadNotifyIO::factory ( nciu &chan, cacNotify ¬ify, ca_uint32_t &id ) -//{ -// netReadNotifyIO *pIO = new netReadNotifyIO ( chan, notify ); -// if ( pIO ) { -// id = pIO->getId (); -// return true; -// } -// else { -// return false; -// } -//} - #endif // netReadNotifyIO_ILh diff --git a/src/ca/netWriteNotifyIO_IL.h b/src/ca/netWriteNotifyIO_IL.h index 961bba18a..d2bdcc931 100644 --- a/src/ca/netWriteNotifyIO_IL.h +++ b/src/ca/netWriteNotifyIO_IL.h @@ -28,22 +28,3 @@ inline void netWriteNotifyIO::operator delete ( void *pCadaver, size_t size ) netWriteNotifyIO::freeList.release ( pCadaver, size ); } -// -// we need to be careful about exporting a raw IO -// pointer because the IO object may be deleted -// at any time when the channel disconnects or the -// IO completes -// -//inline bool netWriteNotifyIO::factory ( nciu &chan, cacNotify ¬ify, ca_uint32_t &id ) -//{ -// netWriteNotifyIO *pIO = new netWriteNotifyIO ( chan, notify ); -// if ( pIO ) { -// id = pIO->getId (); -// return true; -// } -// else { -// return false; -// } -//} - -