Thread aangemaakt voor het updaten van features en pollen van events. Misschien moet het hele Device een Thread worden?
This commit is contained in:
@@ -6,10 +6,10 @@ import pm.event.Target;
|
||||
|
||||
public class ExampleDevice extends Device {
|
||||
public void start() {
|
||||
System.out.println("Ik hoef niets te starten");
|
||||
addAction(Action.START, Target.APPLICATION);
|
||||
addAction(Action.TEST, Target.APPLICATION);
|
||||
addAction(Action.EXIT, Target.MAIN);
|
||||
//System.out.println("Ik hoef niets te starten");
|
||||
//addAction(Action.START, Target.APPLICATION);
|
||||
//addAction(Action.TEST, Target.APPLICATION);
|
||||
//addAction(Action.EXIT, Target.MAIN);
|
||||
}
|
||||
|
||||
public void exit() {
|
||||
|
||||
Reference in New Issue
Block a user