MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / setTls

Method setTls

src/main/java/io/Utf8IOStream.java:75–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 1

blockArrivedMethod · 0.45

Calls 5

createMethod · 0.95
getInstanceMethod · 0.95
getServerMethod · 0.80
getTlsInputStreamMethod · 0.45
getTlsOutputStreamMethod · 0.45

Tested by

no test coverage detected