The checkMulticast method of the StandardSecurityManager Class contains the following signatures:
checkMulticast(InetAddress maddr)
checkMulticast(InetAddress maddr, byte ttl)
Determines whether classes within the current execution context, based on the call stack of the current thread, are allowed to use IP multicast.
public void checkMulticast(InetAddress maddr);
maddr | The Internet address. |
The check succeeds only if all the classes found on the call stack possess NetIOPermissions, and if those permissions allow multicast operations on the specified Internet address. This method overrides the java.lang.SecurityManager.checkMulticast(InetAddress) method.
SecurityException if the security check fails.
Determines whether classes within the current execution context, based on the call stack of the current thread, are allowed to use IP multicast.
public void checkMulticast(InetAddress maddr, byte ttl);
maddr | The Internet address. |
ttl | The time to live for the packet. |
The check succeeds only if all the classes found on the call stack possess NetIOPermissions, and if those permissions allow multicast operations on the specified address. This method overrides the java.lang.SecurityManager.checkMulticast(InetAddress,byte) method.
SecurityException if the security check fails.