pvaClientChannel fix bug if already connected; pvaClientMonitor make reconnection get first event

This commit is contained in:
mrkraimer
2016-06-17 12:31:19 -04:00
parent 2f013af10d
commit a7fb12a16f
3 changed files with 44 additions and 10 deletions

View File

@@ -224,6 +224,7 @@ void PvaClientChannel::channelCreated(const Status& status, Channel::shared_poin
<< endl;
}
Lock xx(mutex);
if(connectState==connected) return;
if(connectState!=connectActive) {
string message("PvaClientChannel::channelCreated");
message += " channel " + channelName