Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2014-04-26 10:14:45 -0400
committerJuergen Haug2014-04-29 04:31:26 -0400
commit375bee38b87cb27d649960076964059a5a06e165 (patch)
tree1898b3a3407943ef3d46565580d314b2415c2aeb /runtime/org.eclipse.etrice.runtime.java/src/org/eclipse
parent20aa6bfc67d1b44976157d8cd66575194f86fd8d (diff)
downloadorg.eclipse.etrice-375bee38b87cb27d649960076964059a5a06e165.tar.gz
org.eclipse.etrice-375bee38b87cb27d649960076964059a5a06e165.tar.xz
org.eclipse.etrice-375bee38b87cb27d649960076964059a5a06e165.zip
[core.etphys] intervals greater than 2 seconds are not representable
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.java/src/org/eclipse')
-rw-r--r--runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/MessageService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/MessageService.java b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/MessageService.java
index a160e66a9..dedc9b461 100644
--- a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/MessageService.java
+++ b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/MessageService.java
@@ -35,18 +35,18 @@ public class MessageService extends AbstractMessageService {
private int priority;
private long lastMessageTimestamp;
- private int pollingInterval = -1;
+ private long pollingInterval = -1;
private ScheduledExecutorService pollingScheduler = null;
public MessageService(IRTObject parent, ExecMode mode, int node, int thread, String name) {
this(parent, mode, 0, node, thread, name, Thread.NORM_PRIORITY);
}
- public MessageService(IRTObject parent, ExecMode mode, int nsec, int node, int thread, String name) {
+ public MessageService(IRTObject parent, ExecMode mode, long nsec, int node, int thread, String name) {
this(parent, mode, nsec, node, thread, name, Thread.NORM_PRIORITY);
}
- public MessageService(IRTObject parent, ExecMode mode, int nsec, int node, int thread, String name, int priority) {
+ public MessageService(IRTObject parent, ExecMode mode, long nsec, int node, int thread, String name, int priority) {
super(parent, "MessageService_"+name, node, thread);
// Java thread priority is limited to 1-10 and cannot be changed

Back to the top