comparison src/org/tn5250j/framework/transport/SSLInterface.java @ 112:77ac18bc1b2f

cleanup java formatting
author Carl Byington <carl@five-ten-sg.com>
date Wed, 18 Jun 2014 13:03:01 -0700
parents e5259eab903e
children
comparison
equal deleted inserted replaced
111:6a0ad4d384ea 112:77ac18bc1b2f
23 */ 23 */
24 import java.net.Socket; 24 import java.net.Socket;
25 25
26 public interface SSLInterface { 26 public interface SSLInterface {
27 27
28 /** 28 /**
29 * Initialize the components required to create a new client socket 29 * Initialize the components required to create a new client socket
30 * when createSSLSocket is called. 30 * when createSSLSocket is called.
31 * @param sslType The ssl socket type (NONE, SSLv2, SSLv3, TLS) 31 * @param sslType The ssl socket type (NONE, SSLv2, SSLv3, TLS)
32 * @param homeDirectory location of the .tn5250j subdirectory containing 32 * @param homeDirectory location of the .tn5250j subdirectory containing
33 * the keystore 33 * the keystore
34 * @see org.tn5250j.framework.transport.SSLConstants 34 * @see org.tn5250j.framework.transport.SSLConstants
35 */ 35 */
36 public abstract void init(String sslType, String homeDirectory); 36 public abstract void init(String sslType, String homeDirectory);
37 37
38 /** 38 /**
39 * Create a new socket 39 * Create a new socket
40 * @param destination 40 * @param destination
41 * @param port 41 * @param port
42 * @return new socket, or null if none could be created. 42 * @return new socket, or null if none could be created.
43 */ 43 */
44 public abstract Socket createSSLSocket(String destination, int port); 44 public abstract Socket createSSLSocket(String destination, int port);
45 45
46 } 46 }