Skip to content

Commit

Permalink
fixed examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronosXYZ committed May 10, 2019
1 parent abb8747 commit 3d58d96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

public class MainClientServer {
public static void main(String[] args) {
GunSuperPeer gunSuperNode = new GunSuperPeer(21334);
GunSuperPeer gunSuperNode = new GunSuperPeer(21334, new InMemoryGraph());
gunSuperNode.start();
new Thread(() -> {
Gun gun = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package io.github.chronosx88.JGUN.examples;

import io.github.chronosx88.JGUN.nodes.GunSuperPeer;
import io.github.chronosx88.JGUN.storageBackends.InMemoryGraph;

public class MainServer {
public static void main(String[] args) {
GunSuperPeer gunSuperNode = new GunSuperPeer(5054);
GunSuperPeer gunSuperNode = new GunSuperPeer(5054, new InMemoryGraph());
gunSuperNode.start();
}
}

0 comments on commit 3d58d96

Please sign in to comment.