MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / initIBB

Method initIBB

src/main/java/io/file/transfer/TransferTask.java:314–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

312 }
313
314 void initIBB() {
315 method = TransferDispatcher.NS_IBB;
316 JabberDataBlock iq = new Iq(jid.toString(), Iq.TYPE_SET, sid);
317 JabberDataBlock open = iq.addChildNs("open", TransferDispatcher.NS_IBB);
318 open.setAttribute("sid", sid);
319 open.setAttribute("block-size", "2048");
320 open.setAttribute("stanza", "message");
321 TransferDispatcher.getInstance().send(iq, false);
322 }
323 protected SOCKS5Stream proxystream;
324
325 void initProxy() {

Callers 1

blockArrivedMethod · 0.95

Calls 5

setAttributeMethod · 0.95
getInstanceMethod · 0.95
addChildNsMethod · 0.80
toStringMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected