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

Method decline

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

Source from the content-addressed store, hash-verified

179 }
180
181 void decline() {
182 finished = System.currentTimeMillis();
183 JabberDataBlock reject = new Iq(jid.toString(), Iq.TYPE_ERROR, id);
184 reject.addChild(new XmppError(XmppError.NOT_ALLOWED, "declined by user"));
185 TransferDispatcher.getInstance().send(reject, true);
186
187 state = ERROR;
188 errMsg = SR.MS_REJECTED;
189 showEvent = true;
190 }
191
192 void accept() {
193 String[] methodNames = new String[2];

Callers 2

runMethod · 0.95
cmdCancelMethod · 0.80

Calls 4

getInstanceMethod · 0.95
toStringMethod · 0.45
addChildMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected