attach to channel in the constructor
This commit is contained in:
@@ -61,6 +61,8 @@ nciu::nciu (cac *pcac, cacChannel &chan, const char *pNameIn) :
|
||||
|
||||
this->f_fullyConstructed = true;
|
||||
|
||||
chan.attachIO (*this);
|
||||
|
||||
UNLOCK (pcac);
|
||||
}
|
||||
|
||||
@@ -895,4 +897,4 @@ int nciu::subscriptionMsg ( unsigned subscriptionId, unsigned typeIn,
|
||||
UNLOCK ( this->piiu->pcas );
|
||||
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user