Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7767

Make `net::IP` fields protected to allow for inheritance

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0
    • None
    • None
    • Mesosphere Sprint 58
    • 1

    Description

      Correctly the properties of `net::IP` are `private` making it hard for classes to inherit `net::IP`. Although `net::IPv4` and `net::IPv6` already inherit `net::IP` they don't have access to the storage structures stored within `net::IP`. While this works for the current API this is not very extensible.

      Hence, we should make the properties of `net::IP` protected instead of private.

      Attachments

        Activity

          People

            avinash.mesos Avinash Sridharan
            avinash.mesos Avinash Sridharan
            Jie Yu Jie Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: