Skip to content

Commit

Permalink
fixed package dir for PollTest and removed more overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
sixtyeight committed Jan 6, 2017
1 parent e12e2e4 commit bf9706b
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,27 @@ public static void main(String[] args) {

private int sequenceID;

@Override
public void discoveredNewNode(ArtNetNode node) {
if (netLynx == null) {
netLynx = node;
System.out.println("found net lynx");
}
}

@Override
public void discoveredNodeDisconnected(ArtNetNode node) {
System.out.println("node disconnected: " + node);
if (node == netLynx) {
netLynx = null;
}
}

@Override
public void discoveryCompleted(List<ArtNetNode> nodes) {
System.out.println(nodes.size() + " nodes found:");
for (ArtNetNode n : nodes) {
System.out.println(n);
}
}

@Override
public void discoveryFailed(Throwable t) {
System.out.println("discovery failed");
}
Expand Down

0 comments on commit bf9706b

Please sign in to comment.