From 471acea0fc30788a4a7c8e66cc1b4bd6748aee15 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 4 Sep 1996 20:18:03 +0000 Subject: [PATCH] init new chan member --- src/cas/generic/casChannelI.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/cas/generic/casChannelI.cc b/src/cas/generic/casChannelI.cc index e804d6c95..ebf9051fe 100644 --- a/src/cas/generic/casChannelI.cc +++ b/src/cas/generic/casChannelI.cc @@ -29,11 +29,15 @@ * * History * $Log$ + * Revision 1.1.1.1 1996/06/20 00:28:14 jhill + * ca server installation + * * */ #include #include // casEventSys inline func +#include // casAsyncIOI inline func #include // casPVI inline func @@ -43,14 +47,12 @@ casChannelI::casChannelI(const casCtx &ctx, casChannel &chanAdapter) : client(* (casStrmClient *) ctx.getClient()), pv(*ctx.getPV()), + chan(chanAdapter), cid(ctx.getMsg()->m_cid) { assert(&this->client); assert(&this->pv); - // - // enforce that casChannelI is always a base of casChannel - // - assert(&chanAdapter == (casChannel *) this); + assert(&this->chan); this->client.installChannel(*this); }