Mercurial > 510Connectbot
comparison src/org/tn5250j/framework/transport/SocketConnector.java @ 25:5949eb469a79 tn5250
adding tn5250 files, native android logging
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 03 Jun 2014 12:10:21 -0700 |
parents | e773d0952613 |
children | 9ae1c889a64c |
comparison
equal
deleted
inserted
replaced
24:d1c549560aff | 25:5949eb469a79 |
---|---|
28 import com.five_ten_sg.connectbot.service.TerminalBridge; | 28 import com.five_ten_sg.connectbot.service.TerminalBridge; |
29 import com.five_ten_sg.connectbot.service.TerminalManager; | 29 import com.five_ten_sg.connectbot.service.TerminalManager; |
30 | 30 |
31 import org.tn5250j.framework.transport.SSL.SSLImplementation; | 31 import org.tn5250j.framework.transport.SSL.SSLImplementation; |
32 import org.tn5250j.TN5250jConstants; | 32 import org.tn5250j.TN5250jConstants; |
33 import org.tn5250j.tools.logging.TN5250jLogFactory; | 33 import android.util.Log; |
34 import org.tn5250j.tools.logging.TN5250jLogger; | 34 |
35 | 35 |
36 public class SocketConnector { | 36 public class SocketConnector { |
37 | 37 |
38 String sslType = null; | 38 String sslType = null; |
39 | 39 |
41 | 41 |
42 /** | 42 /** |
43 * Creates a new instance that creates a plain socket by default. | 43 * Creates a new instance that creates a plain socket by default. |
44 */ | 44 */ |
45 public SocketConnector() { | 45 public SocketConnector() { |
46 logger = TN5250jLogFactory.getLogger(getClass()); | 46 |
47 } | 47 } |
48 | 48 |
49 /** | 49 /** |
50 * Set the type of SSL connection to use. Specify null or an empty string | 50 * Set the type of SSL connection to use. Specify null or an empty string |
51 * to use a plain socket. | 51 * to use a plain socket. |