Remove dead code
aliveNotification() and unresponsiveTransport() never called. Remove these, and code only referenced through these methods.
This commit is contained in:
@@ -3675,13 +3675,6 @@ public:
|
||||
reportChannelStateChange();
|
||||
}
|
||||
|
||||
virtual void transportChanged() OVERRIDE FINAL {
|
||||
// initiateSearch();
|
||||
// TODO
|
||||
// this will be called immediately after reconnect... bad...
|
||||
|
||||
}
|
||||
|
||||
virtual Transport::shared_pointer checkAndGetTransport() OVERRIDE FINAL
|
||||
{
|
||||
Lock guard(m_channelMutex);
|
||||
@@ -3711,35 +3704,6 @@ public:
|
||||
return m_transport;
|
||||
}
|
||||
|
||||
virtual void transportResponsive(Transport::shared_pointer const & /*transport*/) OVERRIDE FINAL {
|
||||
Lock guard(m_channelMutex);
|
||||
if (m_connectionState == DISCONNECTED)
|
||||
{
|
||||
updateSubscriptions();
|
||||
|
||||
// reconnect using existing IDs, data
|
||||
connectionCompleted(m_serverChannelID/*, accessRights*/);
|
||||
}
|
||||
}
|
||||
|
||||
virtual void transportUnresponsive() OVERRIDE FINAL {
|
||||
/*
|
||||
{
|
||||
Lock guard(m_channelMutex);
|
||||
if (m_connectionState == CONNECTED)
|
||||
{
|
||||
// TODO 2 types of disconnected state - distinguish them otherwise disconnect will handle connection loss right
|
||||
setConnectionState(DISCONNECTED);
|
||||
|
||||
// ... PVA notifies also w/ no access rights callback, although access right are not changed
|
||||
}
|
||||
}
|
||||
|
||||
// should be called without any lock hold
|
||||
reportChannelStateChange();
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
* Set connection state and if changed, notifies listeners.
|
||||
* @param newState state to set.
|
||||
|
||||
Reference in New Issue
Block a user