May 1998
Intermediate to advanced
469 pages
14h 57m
English
Class java.net.SocketPermission
This class represents the ability to work with certain sockets. The name of this permission is constructed from the hostname or IP address of the machine on the other end of the socket and the port number; either portion of the name is subject to wildcard matching. Valid actions for this class include connect, accept, and listen.
public final class java.net.SocketPermission
extends java.security.Permission
implements java.io.Serializable {
// Constructors
public SocketPermission(String, String);
// Instance Methods
public boolean equals(Object);
public String getActions();
public int hashCode();
public boolean implies(Permission);
public PermissionCollection newPermissionCollection();
}
Permission