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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Agile

                Completed Sprint:
                Mesosphere Sprint 58 ended 07/Jul/17
                View on Board

                Slack

                  Issue deployment