()
| 73 | //#endif |
| 74 | //#if TLS |
| 75 | public void setTls() throws Exception { |
| 76 | tlsExclusive = true; |
| 77 | tlsHandler = TlsIO.create(connection, inpStream, outStream, |
| 78 | StaticData.getInstance().account.JID.getServer()); |
| 79 | inpStream = tlsHandler.getTlsInputStream(); |
| 80 | outStream = tlsHandler.getTlsOutputStream(); |
| 81 | tlsExclusive = false; |
| 82 | length = pbyte = 0; |
| 83 | } |
| 84 | //#endif |
| 85 | public Utf8IOStream(Socket connection) throws IOException { |
| 86 | this.connection = connection; |
no test coverage detected