[SERVER-14367] De-inline HostAndPort type, and remove dependencies on networking components. Created: 26/Jun/14 Updated: 11/Jul/16 Resolved: 30/Jun/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
Its methods, by and large, should be implemented in a C++ file, and they shouldn't depend on the networking components to function. A HostAndPort is the name of a process on a network, not a way to communicate with one. This will facilitate testing and functional decomposition. |
| Comments |
| Comment by Githook User [ 30/Jun/14 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: Moves bodies of most HostAndPort methods to hostandport.cpp. Also, removes Removes dead / anachronistic behavior. |
| Comment by Githook User [ 30/Jun/14 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: The setPort and implicit conversion operators are going away. This path fixes their existing |