Home
last modified time | relevance | path

Searched refs:mcastaddr (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DMulticastSocket.java300 public void joinGroup(InetAddress mcastaddr) throws IOException { in joinGroup() argument
305 checkAddress(mcastaddr, "joinGroup"); in joinGroup()
308 security.checkMulticast(mcastaddr); in joinGroup()
311 if (!mcastaddr.isMulticastAddress()) { in joinGroup()
325 getImpl().join(mcastaddr); in joinGroup()
345 public void leaveGroup(InetAddress mcastaddr) throws IOException { in leaveGroup() argument
350 checkAddress(mcastaddr, "leaveGroup"); in leaveGroup()
353 security.checkMulticast(mcastaddr); in leaveGroup()
356 if (!mcastaddr.isMulticastAddress()) { in leaveGroup()
360 getImpl().leave(mcastaddr); in leaveGroup()
[all …]
DAbstractPlainDatagramSocketImpl.java219 protected void joinGroup(SocketAddress mcastaddr, NetworkInterface netIf) in joinGroup() argument
221 if (mcastaddr == null || !(mcastaddr instanceof InetSocketAddress)) in joinGroup()
223 join(((InetSocketAddress)mcastaddr).getAddress(), netIf); in joinGroup()
237 protected void leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf) in leaveGroup() argument
239 if (mcastaddr == null || !(mcastaddr instanceof InetSocketAddress)) in leaveGroup()
241 leave(((InetSocketAddress)mcastaddr).getAddress(), netIf); in leaveGroup()
DDatagramSocketImpl.java227 protected abstract void joinGroup(SocketAddress mcastaddr, in joinGroup() argument
239 protected abstract void leaveGroup(SocketAddress mcastaddr, in leaveGroup() argument
/libcore/ojluni/src/main/java/sun/nio/ch/
DDatagramSocketAdaptor.java404 protected void joinGroup(SocketAddress mcastaddr,
407 protected void leaveGroup(SocketAddress mcastaddr,