Remove dead code

aliveNotification() and unresponsiveTransport() never called.
Remove these, and code only referenced through these methods.
This commit is contained in:
Michael Davidsaver
2019-05-20 22:29:01 -07:00
parent c9bd214f7c
commit a6e7d7f5fc
8 changed files with 0 additions and 123 deletions

View File

@@ -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.