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 25
25
* New connection(s) could have been established or connection(s)) are dropped.
26
26
*
27
27
* 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
29
29
* (location based / point of sales advertisement) etc. pp.
30
30
*
31
31
* Interesting question: Should we send a message only to this peer with ASAP?
@@ -216,13 +216,13 @@ public void mockVariant() {
216
216
217
217
@ Test
218
218
public void realASAPVariant () throws IOException , ASAPException , InterruptedException {
219
- // create two peer - here as peer mock .
219
+ // create two peer - here with real ASAP .
220
220
ASAPSimplePeerFS alicePeer = new ASAPSimplePeerFS (ALICE );
221
221
ASAPSimplePeerFS bobPeer = new ASAPSimplePeerFS (BOB );
222
222
223
223
this .recognizePeerInNeighbourhood (alicePeer , bobPeer );
224
224
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.
226
226
alicePeer .startEncounter (7777 , bobPeer );
227
227
228
228
Thread .sleep (1000 );
You can’t perform that action at this time.
0 commit comments