@@ -1734,34 +1734,6 @@ if (process.platform === 'win32') {
1734
1734
_setSimultaneousAccepts = function ( handle ) { } ;
1735
1735
}
1736
1736
1737
- // TODO(addaleax): Remove these after the Node 9.x branch cut.
1738
- Object . defineProperty ( Server . prototype , '_usingSlaves' , {
1739
- get : internalUtil . deprecate ( function ( ) {
1740
- return this . _usingWorkers ;
1741
- } , 'Accessing internal properties of net.Server is deprecated.' , 'DEP0073' ) ,
1742
- set : internalUtil . deprecate ( ( val ) => {
1743
- this . _usingWorkers = val ;
1744
- } , 'Accessing internal properties of net.Server is deprecated.' , 'DEP0073' ) ,
1745
- configurable : true , enumerable : false
1746
- } ) ;
1747
-
1748
- Object . defineProperty ( Server . prototype , '_slaves' , {
1749
- get : internalUtil . deprecate ( function ( ) {
1750
- return this . _workers ;
1751
- } , 'Accessing internal properties of net.Server is deprecated.' , 'DEP0073' ) ,
1752
- set : internalUtil . deprecate ( ( val ) => {
1753
- this . _workers = val ;
1754
- } , 'Accessing internal properties of net.Server is deprecated.' , 'DEP0073' ) ,
1755
- configurable : true , enumerable : false
1756
- } ) ;
1757
-
1758
- Object . defineProperty ( Server . prototype , '_setupSlave' , {
1759
- value : internalUtil . deprecate ( function ( socketList ) {
1760
- return this . _setupWorker ( socketList ) ;
1761
- } , 'Accessing internal properties of net.Server is deprecated.' , 'DEP0073' ) ,
1762
- configurable : true , enumerable : false
1763
- } ) ;
1764
-
1765
1737
module . exports = {
1766
1738
_createServerHandle : createServerHandle ,
1767
1739
_normalizeArgs : normalizeArgs ,
0 commit comments