1. 15 Jun, 2021 1 commit
  2. 02 Jun, 2021 1 commit
  3. 19 Dec, 2017 2 commits
  4. 09 Sep, 2016 1 commit
  5. 24 Feb, 2016 2 commits
  6. 16 Jul, 2015 2 commits
  7. 15 Jul, 2015 2 commits
  8. 06 Aug, 2014 1 commit
    • Steven Murray's avatar
      Added inheritance between ZmqSocket , ZmqSocketST and ZmqSocketMT · b6edd0c0
      Steven Murray authored
      In a previous commit I removed the inheritance relationship between
      ZmqSocket and ZmqSocketMT.  I used templated functions in order to
      be able to handle instances of ZmqSocket and ZmqSocketMT with thei
      same code.  I now believe that decision was wrong in the long run.
      Future code maintainers will not know that a ZmqSocketMT object is
      a type of ZmqSocket.  Eclipse and doxygen are very good at
      providing class hierarchies.  One should benefit from this when one
      can as it is a form of free documentation.
      
      My previous commit not only removed inheritance, it also allowed
      the multi-threaded version of ZMQSocket to contain the single
      threaded version as opposed to inherit from it.  Using composition
      over inheritance prevented future mistakes where somebody adds a
      new thread-unsafe method to the super class and forgets or doesn’t
      know that they should implement a thread-safe overriding version in
      the sub-class.  This commit preserves composition over inheritance.
      
      There are now three “ZmqSocket” classes: ZmqSocket, ZmqSocketST and
      ZmqSocketMT.  ZmqSocket itself is now abstract and simply defines
      the methods such a socket should implement.  ZmqSocketST is ai
      concrete class for single-threaded use (hence ST) and
      ZmqSocketMT is for multithreaded use (hence MT).
      
      ZmqSocketST inherits from ZmqSocket and  ZmqSocketMT also inherits
      from ZmqSocket.  ZmqSocketMT does not inherit from ZmqSocketST.
      ZmqSocketMT contains an instance of ZmqSocketST therefore preserving
      the composition over inheritance solution of the previous commit.
      b6edd0c0
  9. 04 Aug, 2014 1 commit
  10. 03 Jul, 2014 1 commit
  11. 28 Jun, 2014 1 commit
  12. 15 May, 2014 1 commit
  13. 14 May, 2014 1 commit
  14. 28 Mar, 2013 1 commit
  15. 08 Oct, 2010 1 commit
  16. 08 Jan, 2009 1 commit
  17. 09 Jul, 2007 1 commit
  18. 02 Apr, 2007 1 commit
  19. 22 Feb, 2006 1 commit
  20. 20 Feb, 2006 1 commit
  21. 06 Dec, 2005 1 commit
  22. 01 Dec, 2005 1 commit
  23. 28 Nov, 2005 1 commit