java.lang.Object
org.apache.derby.client.net.OpenSocketAction
- All Implemented Interfaces:
- java.security.PrivilegedExceptionAction
- public class OpenSocketAction
- extends java.lang.Object
- implements java.security.PrivilegedExceptionAction
|
Method Summary |
java.lang.Object |
run()
This method performs an operation that requires higher privileges to
successfully complete. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
server_
private java.lang.String server_
port_
private int port_
OpenSocketAction
public OpenSocketAction(java.lang.String server,
int port)
run
public java.lang.Object run()
throws java.net.UnknownHostException,
java.io.IOException
- Description copied from interface:
java.security.PrivilegedExceptionAction
- This method performs an operation that requires higher privileges to
successfully complete. It is called when a section of code invokes
AccessController.doPrivileged().
- Specified by:
run in interface java.security.PrivilegedExceptionAction