Fixed warnings
This commit is contained in:
parent
cc0fd5c1f6
commit
3be4168cf2
6 changed files with 18 additions and 21 deletions
|
|
@ -9,5 +9,5 @@ public interface HalAutoScannableController {
|
||||||
* Indicates if the controller has all the configuration
|
* Indicates if the controller has all the configuration
|
||||||
* data and resources to be able to initialize
|
* data and resources to be able to initialize
|
||||||
*/
|
*/
|
||||||
public boolean isAvailable();
|
boolean isAvailable();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ package se.hal.intf;
|
||||||
*/
|
*/
|
||||||
public interface HalBot {
|
public interface HalBot {
|
||||||
|
|
||||||
public void initialize();
|
void initialize();
|
||||||
|
|
||||||
public String respond(String question);
|
String respond(String question);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import java.util.concurrent.ScheduledExecutorService;
|
||||||
* Created by Ziver on 2015-12-03.
|
* Created by Ziver on 2015-12-03.
|
||||||
*/
|
*/
|
||||||
public interface HalDaemon extends Runnable{
|
public interface HalDaemon extends Runnable{
|
||||||
public void initiate(ScheduledExecutorService executor);
|
|
||||||
|
void initiate(ScheduledExecutorService executor);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,23 +15,23 @@ public interface HalEventController {
|
||||||
/**
|
/**
|
||||||
* Will register an event type to be handled by this controller
|
* Will register an event type to be handled by this controller
|
||||||
*/
|
*/
|
||||||
public void register(HalEventData event);
|
void register(HalEventData event);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deregisters an event from this controller, the controller
|
* Deregisters an event from this controller, the controller
|
||||||
* will no longer handle that type of event
|
* will no longer handle that type of event
|
||||||
*/
|
*/
|
||||||
public void deregister(HalEventData event);
|
void deregister(HalEventData event);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param event transmit this event if possible.
|
* @param event transmit this event if possible.
|
||||||
*/
|
*/
|
||||||
public void send(HalEventData event); // TODO: where to put data?
|
void send(HalEventData event); // TODO: where to put data?
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the number of registered objects
|
* @return the number of registered objects
|
||||||
*/
|
*/
|
||||||
public int size();
|
int size();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a listener that will receive all reports from the the registered Events
|
* Set a listener that will receive all reports from the the registered Events
|
||||||
|
|
@ -44,5 +44,5 @@ public interface HalEventController {
|
||||||
* This method could be called multiple times, first time
|
* This method could be called multiple times, first time
|
||||||
* should be handled as normal any subsequent calls should be ignored.
|
* should be handled as normal any subsequent calls should be ignored.
|
||||||
*/
|
*/
|
||||||
public void close();
|
void close();
|
||||||
}
|
}
|
||||||
|
|
@ -23,13 +23,11 @@
|
||||||
package se.hal.intf;
|
package se.hal.intf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created with IntelliJ IDEA.
|
* @author Ziver
|
||||||
* User: ezivkoc
|
|
||||||
* Date: 2013-12-17
|
|
||||||
* Time: 13:40
|
|
||||||
*/
|
*/
|
||||||
public interface HalSpeachToText {
|
public interface HalSpeachToText {
|
||||||
public void initSTT();
|
|
||||||
|
|
||||||
public String listen();
|
void initSTT();
|
||||||
|
|
||||||
|
String listen();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,13 +23,11 @@
|
||||||
package se.hal.intf;
|
package se.hal.intf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created with IntelliJ IDEA.
|
* @author Ziver
|
||||||
* User: ezivkoc
|
|
||||||
* Date: 2013-12-17
|
|
||||||
* Time: 13:40
|
|
||||||
*/
|
*/
|
||||||
public interface HalTextToSpeach {
|
public interface HalTextToSpeach {
|
||||||
public void initTTS();
|
|
||||||
|
|
||||||
public void speak(String msg);
|
void initTTS();
|
||||||
|
|
||||||
|
void speak(String msg);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue