MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / send

Method send

src/org/opensourcephysics/tools/DataToolTab.java:652–659  ·  view source on GitHub ↗

Sends a job to this tool and specifies a tool to reply to. @param job the Job @param replyTo the tool to notify when the job is complete (may be null)

(Job job, Tool replyTo)

Source from the content-addressed store, hash-verified

650 * @param replyTo the tool to notify when the job is complete (may be null)
651 */
652 @Override
653 public void send(Job job, Tool replyTo) {
654 XMLControlElement control = new XMLControlElement(job.getXML());
655 if (control.failedToRead() || (control.getObjectClass() == Object.class)) {
656 return;
657 }
658 receiveJobControl(job, replyTo, control);
659 }
660
661 /**
662 * We already have the control; no need to recreate it.

Callers 1

sendMethod · 0.95

Calls 4

failedToReadMethod · 0.95
getObjectClassMethod · 0.95
receiveJobControlMethod · 0.95
getXMLMethod · 0.65

Tested by

no test coverage detected