Package com.webmethods.jms.ssl
Class SSLConnectionCreator.SocketCreationTask
- java.lang.Object
-
- com.webmethods.jms.ssl.SSLConnectionCreator.SocketCreationTask
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- SSLConnectionCreator
public static class SSLConnectionCreator.SocketCreationTask extends java.lang.Object implements java.lang.Runnable
Task for creation of socket. And this will be carried out in a different thread.
-
-
Constructor Summary
Constructors Constructor Description SocketCreationTask(javax.net.ssl.SSLContext sslContext, java.lang.String host, int port, java.lang.String cipherSuites, boolean encryption, int sockType)
Create this task.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.net.ssl.SSLSocket
getSocket(long waitTime)
Gets the SSL socket, and wait for specified wait period at the max.void
run()
void
setThread(java.lang.Thread threadRunningThisTask)
Sets the thread which is runnning this task.
-
-
-
Method Detail
-
setThread
public void setThread(java.lang.Thread threadRunningThisTask)
Sets the thread which is runnning this task.- Parameters:
threadRunningThisTask
-
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
getSocket
public javax.net.ssl.SSLSocket getSocket(long waitTime)
Gets the SSL socket, and wait for specified wait period at the max.
-
-