Methods of MulticastSocket to deprecate (1) and their equivalent (2):
(1) getInterface()
(2) getNetworkInterface()
(1) joinGroup(InetAddress mcastaddr)
(2)joinGroup(SocketAddress mcastaddr, NetworkInterface netIf)
(1) leaveGroup(InetAddress mcastaddr)
(2) leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf)
(1) setInterface(InetAddress inf)
(2) setNetworkInterface(NetworkInterface netIf)
(1) getLoopbackMode()
(2) DatagramSocket.getOption(IP_MULTICAST_LOOP)
(1) setLoopbackMode(boolean disable)
(2) DatagramSocket.setOption(IP_MULTICAST_LOOP, enable)
Deprecation only, not for removal.
(1) getInterface()
(2) getNetworkInterface()
(1) joinGroup(InetAddress mcastaddr)
(2)joinGroup(SocketAddress mcastaddr, NetworkInterface netIf)
(1) leaveGroup(InetAddress mcastaddr)
(2) leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf)
(1) setInterface(InetAddress inf)
(2) setNetworkInterface(NetworkInterface netIf)
(1) getLoopbackMode()
(2) DatagramSocket.getOption(IP_MULTICAST_LOOP)
(1) setLoopbackMode(boolean disable)
(2) DatagramSocket.setOption(IP_MULTICAST_LOOP, enable)
Deprecation only, not for removal.
- blocks
-
JDK-8230211 Prepare DatagramSocket for alternative DatagramSocketImpl
- Resolved
- csr for
-
JDK-8235330 Deprecate MulticastSocket methods that operate on java.net.InetAddress
- Closed