Class InterruptibleSocketFactory.SocketCreateThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.manifoldcf.connectorcommon.common.InterruptibleSocketFactory.SocketCreateThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- InterruptibleSocketFactory
protected static class InterruptibleSocketFactory.SocketCreateThread extends java.lang.ThreadCreate a secure socket in a thread, so that we can "give up" after a while if the socket fails to connect.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.net.InetAddressclientHostprotected intclientPortprotected java.net.InetAddresshostprotected intportprotected java.net.Socketrvalprotected javax.net.ssl.SSLSocketFactorysocketFactoryprotected java.lang.Throwablethrowable
-
Constructor Summary
Constructors Constructor Description SocketCreateThread(javax.net.ssl.SSLSocketFactory socketFactory, java.net.InetAddress host, int port, java.net.InetAddress clientHost, int clientPort)Create the thread
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetException()java.net.SocketgetResult()voidrun()-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
socketFactory
protected javax.net.ssl.SSLSocketFactory socketFactory
-
host
protected java.net.InetAddress host
-
port
protected int port
-
clientHost
protected java.net.InetAddress clientHost
-
clientPort
protected int clientPort
-
rval
protected java.net.Socket rval
-
throwable
protected java.lang.Throwable throwable
-
-