File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
test/net/sharksystem/asap/mockAndTemplates Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2525 * New connection(s) could have been established or connection(s)) are dropped.
2626 *
2727 * For what could such an information be good for?
28- * * We could initiate a game, a chat, ask to come in a get a special discount for our brand new coffee brand
28+ * We could initiate a game, a chat, ask to come in a get a special discount for our brand new coffee brand
2929 * (location based / point of sales advertisement) etc. pp.
3030 *
3131 * Interesting question: Should we send a message only to this peer with ASAP?
@@ -216,13 +216,13 @@ public void mockVariant() {
216216
217217 @ Test
218218 public void realASAPVariant () throws IOException , ASAPException , InterruptedException {
219- // create two peer - here as peer mock .
219+ // create two peer - here with real ASAP .
220220 ASAPSimplePeerFS alicePeer = new ASAPSimplePeerFS (ALICE );
221221 ASAPSimplePeerFS bobPeer = new ASAPSimplePeerFS (BOB );
222222
223223 this .recognizePeerInNeighbourhood (alicePeer , bobPeer );
224224
225- // simulate an encounter
225+ // trigger a real asap encounter - that's no mock, it's the real asap engine / protocol stack using TCP/IP.
226226 alicePeer .startEncounter (7777 , bobPeer );
227227
228228 Thread .sleep (1000 );
You can’t perform that action at this time.
0 commit comments