MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / main

Method main

java/tests/multirepo/MultiRepoSlave.java:13–29  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

11public class MultiRepoSlave extends MultiRepoBase {
12
13 public static void main(String[] args) throws Exception {
14 setUp(args);
15 try {
16 // Slave process responds to a write on DOMAIN1
17 MultiRepoWorker reader = createWorker(DOMAIN1_ID);
18 reader.read();
19
20 MultiRepoWorker writer = createWorker(DOMAIN2_ID);
21 writer.write("Snap snap, grin grin, wink wink, nudge nudge, say no more?");
22
23 Thread.sleep(5000);
24 assert (reader.isRead());
25
26 } finally {
27 tearDown();
28 }
29 }
30}

Callers

nothing calls this directly

Calls 6

readMethod · 0.95
writeMethod · 0.95
isReadMethod · 0.95
createWorkerMethod · 0.80
setUpMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected