Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
EncounterBasedCommunication
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
encounters
EncounterBasedCommunication
Commits
af1a78f6
Commit
af1a78f6
authored
Jul 05, 2018
by
Lily Tsai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move simulation client
parent
853b9ba8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ebclibrary/src/main/java/org/mpisws/encounters/encounterformation/simulator/SimulatorEncounterFormationCore.java
...rformation/simulator/SimulatorEncounterFormationCore.java
+3
-3
testapp/src/main/java/org/mpisws/testapp/SimulationClient.java
...pp/src/main/java/org/mpisws/testapp/SimulationClient.java
+1
-1
No files found.
ebclibrary/src/main/java/org/mpisws/encounters/encounterformation/simulator/SimulatorEncounterFormationCore.java
View file @
af1a78f6
...
...
@@ -39,10 +39,10 @@ public class SimulatorEncounterFormationCore implements Runnable {
protected
static
List
<
Identifier
>
mDHPubKeys
=
new
ArrayList
<>(
NUM_SIMULATED_EPOCHS
);
protected
static
List
<
Identifier
>
mDHNonces
=
new
ArrayList
<>(
NUM_SIMULATED_EPOCHS
);
protected
static
List
<
Identifier
>
mDHFullKeys
=
new
ArrayList
<>(
NUM_SIMULATED_EPOCHS
);
p
rotected
static
List
<
Identifier
>
otherDHPubKeys
=
new
ArrayList
<>(
NUM_SIMULATED_DEVICES
*
NUM_SIMULATED_EPOCHS
);
p
rotected
static
List
<
Identifier
>
otherDHNonces
=
new
ArrayList
<>(
NUM_SIMULATED_DEVICES
*
NUM_SIMULATED_EPOCHS
);
p
ublic
static
List
<
Identifier
>
otherDHPubKeys
=
new
ArrayList
<>(
NUM_SIMULATED_DEVICES
*
NUM_SIMULATED_EPOCHS
);
p
ublic
static
List
<
Identifier
>
otherDHNonces
=
new
ArrayList
<>(
NUM_SIMULATED_DEVICES
*
NUM_SIMULATED_EPOCHS
);
protected
static
List
<
Identifier
>
otherDHFullKeys
=
new
ArrayList
<>(
NUM_SIMULATED_DEVICES
*
NUM_SIMULATED_EPOCHS
);
p
rotected
static
List
<
Identifier
>
mSharedSecrets
=
new
ArrayList
<>(
NUM_SIMULATED_DEVICES
*
NUM_SIMULATED_EPOCHS
);
p
ublic
static
List
<
Identifier
>
mSharedSecrets
=
new
ArrayList
<>(
NUM_SIMULATED_DEVICES
*
NUM_SIMULATED_EPOCHS
);
protected
static
int
CURRENT_EPOCH
=
0
;
protected
static
Identifier
mDHPubKey
;
...
...
ebclibrary/src/main/java/org/mpisws/encounters/encounterformation/simulator
/SimulationClient.java
→
testapp/src/main/java/org/mpisws/testapp
/SimulationClient.java
View file @
af1a78f6
package
org.mpisws.
encounters.encounterformation.simulator
;
package
org.mpisws.
testapp
;
import
android.content.Context
;
import
android.net.nsd.NsdManager
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment