Changeset 11093


Ignore:
Timestamp:
06/21/11 21:08:57 (13 years ago)
Author:
tbretz
Message:
Added IsDisconnected
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Connection.h

    r10373 r11093  
    103103    int IsClosed() const { return !is_open(); }
    104104
    105     bool IsConnected()  const { return fConnectionStatus==kConnected;  }
    106     bool IsConnecting() const { return fConnectionStatus==kConnecting; }
     105    bool IsDisconnected() const { return fConnectionStatus==kDisconnected; }
     106    bool IsConnected()  const   { return fConnectionStatus==kConnected;    }
     107    bool IsConnecting() const   { return fConnectionStatus==kConnecting;   }
    107108
    108109    std::string URL() const { return fAddress + ":" + fPort; }
Note: See TracChangeset for help on using the changeset viewer.