added currently connected flag

This commit is contained in:
Jeff Hill
2002-05-09 17:21:39 +00:00
parent 76bd95f7ae
commit ec3bc12ba4

View File

@@ -89,6 +89,7 @@ private:
void * pPrivate;
caArh * pAccessRightsFunc;
unsigned ioSeqNo;
bool currentlyConnected;
bool prevConnected;
void connectNotify ();
void disconnectNotify ();
@@ -354,7 +355,7 @@ inline bool oldChannelNotify::ca_v42_ok () const
inline bool oldChannelNotify::connected () const
{
return this->io.connected ();
return this->currentlyConnected;
}
inline bool oldChannelNotify::previouslyConnected () const