-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
150 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
dependencies { | ||
implementation(Libs.jgrapht_core) | ||
implementation(libs.jgrapht.core) | ||
} | ||
|
||
application { | ||
mainClassName = "demo.HelloProtelis" | ||
mainClass.set("org.protelis.demo.HelloProtelis") | ||
} |
2 changes: 1 addition & 1 deletion
2
...ld/src/main/java/demo/ConsoleSpeaker.java → ...ava/org/protelis/demo/ConsoleSpeaker.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package demo; | ||
package org.protelis.demo; | ||
|
||
/** | ||
* Speaker implementation which uses the standard output. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rc/main/java/demo/DeviceCapabilities.java → ...org/protelis/demo/DeviceCapabilities.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ain/java/demo/EmulatedNetworkManager.java → ...protelis/demo/EmulatedNetworkManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rld/src/main/java/demo/HelloProtelis.java → ...java/org/protelis/demo/HelloProtelis.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package demo; | ||
package org.protelis.demo; | ||
|
||
import org.jgrapht.Graph; | ||
import org.jgrapht.Graphs; | ||
|
2 changes: 1 addition & 1 deletion
2
...orld/src/main/java/demo/IntDeviceUID.java → .../java/org/protelis/demo/IntDeviceUID.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package demo; | ||
package org.protelis.demo; | ||
|
||
import org.protelis.lang.datatype.DeviceUID; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...elloworld/src/main/java/demo/Speaker.java → .../main/java/org/protelis/demo/Speaker.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package demo; | ||
package org.protelis.demo; | ||
|
||
/** | ||
* Protelis component which allows a node to communicate. | ||
|
2 changes: 1 addition & 1 deletion
2
...rld/src/test/java/demo/JavaHelloTest.java → ...java/org/protelis/demo/JavaHelloTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...loworld/src/main/kotlin/ConsoleSpeaker.kt → ...otlin/org/protelis/demo/ConsoleSpeaker.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...tlin-helloworld/src/main/kotlin/Device.kt → ...c/main/kotlin/org/protelis/demo/Device.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...rld/src/main/kotlin/DeviceCapabilities.kt → ...n/org/protelis/demo/DeviceCapabilities.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...src/main/kotlin/EmulatedNetworkManager.kt → ...g/protelis/demo/EmulatedNetworkManager.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lloworld/src/main/kotlin/HelloProtelis.kt → ...kotlin/org/protelis/demo/HelloProtelis.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package demo | ||
package org.protelis.demo | ||
|
||
import org.jgrapht.Graphs | ||
import org.jgrapht.graph.DefaultEdge | ||
|
2 changes: 1 addition & 1 deletion
2
...elloworld/src/main/kotlin/IntDeviceUID.kt → .../kotlin/org/protelis/demo/IntDeviceUID.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package demo | ||
package org.protelis.demo | ||
|
||
import org.protelis.lang.datatype.DeviceUID | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...lin-helloworld/src/main/kotlin/Speaker.kt → .../main/kotlin/org/protelis/demo/Speaker.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package demo | ||
package org.protelis.demo | ||
|
||
interface Speaker { | ||
fun announce(something: String) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...rc/main/java/demo/ProtelisConfigSpec.java → ...org/protelis/demo/ProtelisConfigSpec.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../main/java/demo/SocketNetworkManager.java → ...g/protelis/demo/SocketNetworkManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ket/src/main/java/demo/data/IPv4Host.java → ...java/org/protelis/demo/data/IPv4Host.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package demo.data; | ||
package org.protelis.demo.data; | ||
|
||
import java.beans.ConstructorProperties; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...src/main/java/demo/data/ProtelisNode.java → .../org/protelis/demo/data/ProtelisNode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...et/src/test/java/demo/JavaSocketTest.java → ...ava/org/protelis/demo/JavaSocketTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...n-socket/src/main/kotlin/HelloProtelis.kt → ...kotlin/org/protelis/demo/HelloProtelis.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ket/src/main/kotlin/ProtelisConfigSpec.kt → ...n/org/protelis/demo/ProtelisConfigSpec.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package demo | ||
package demo.org.protelis.demo | ||
|
||
import com.uchuhimo.konf.ConfigSpec | ||
|
||
|
3 changes: 2 additions & 1 deletion
3
...t/src/main/kotlin/SocketNetworkManager.kt → ...org/protelis/demo/SocketNetworkManager.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...qtt/src/main/java/demo/HelloProtelis.java → ...java/org/protelis/demo/HelloProtelis.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rc/main/java/demo/MqttNetworkManager.java → ...org/protelis/demo/MqttNetworkManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...rc/main/java/demo/ProtelisConfigSpec.java → ...org/protelis/demo/ProtelisConfigSpec.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...main/java/demo/data/MqttProtelisNode.java → .../protelis/demo/data/MqttProtelisNode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...mqtt/src/test/java/demo/JavaMqttTest.java → .../java/org/protelis/demo/JavaMqttTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lin-mqtt/src/main/kotlin/HelloProtelis.kt → ...kotlin/org/protelis/demo/HelloProtelis.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package demo | ||
package org.protelis.demo | ||
|
||
import com.uchuhimo.konf.Config | ||
import com.uchuhimo.konf.source.toml | ||
|
2 changes: 1 addition & 1 deletion
2
...qtt/src/main/kotlin/ProtelisConfigSpec.kt → ...n/org/protelis/demo/ProtelisConfigSpec.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package demo | ||
package org.protelis.demo | ||
|
||
import com.uchuhimo.konf.ConfigSpec | ||
|
||
|
Oops, something went wrong.