diff options
author | Thomas Schuetz | 2011-02-01 22:36:45 +0000 |
---|---|---|
committer | Thomas Schuetz | 2011-02-01 22:36:45 +0000 |
commit | 9fb99950416236ef22f12fdd6e779a2af8449b73 (patch) | |
tree | 3d4a09666f47a5345203f47d1e010079a51533ea /runtime | |
parent | ac8869612b2db6abf2dfff8c3e582ca299f2430b (diff) | |
download | org.eclipse.etrice-9fb99950416236ef22f12fdd6e779a2af8449b73.tar.gz org.eclipse.etrice-9fb99950416236ef22f12fdd6e779a2af8449b73.tar.xz org.eclipse.etrice-9fb99950416236ef22f12fdd6e779a2af8449b73.zip |
added EPL-License
Diffstat (limited to 'runtime')
4 files changed, 48 insertions, 2 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 912cf7749..f709f3d87 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 @@ -4,13 +4,18 @@ * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Thomas Schuetz and Henrik Rentz-Reichert (initial contribution)
+ *
*******************************************************************************/
package org.eclipse.etrice.runtime.java.messaging;
/**
- * The message service is a thread and contains a message queue and a dispatcher.
+ * The MessageService the backbone of the asynchroneous communication inside a SubSystem
+ * It usually contains a thread a message queue and a dispatcher
*
* @author Thomas Schuetz
*
diff --git a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/MessageServiceController.java b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/MessageServiceController.java index cb7f8c050..d898ca420 100644 --- a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/MessageServiceController.java +++ b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/MessageServiceController.java @@ -1,8 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2011 protos software gmbh (http://www.protos.de). + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * CONTRIBUTORS: + * Thomas Schuetz + * + *******************************************************************************/ + package org.eclipse.etrice.runtime.java.messaging; import java.util.ArrayList; import java.util.List; +/** + * The MessageServiceController controls lifecycle of and access to all MessageServices in one SubSystem + * + * @author Thomas Schuetz + * + */ public class MessageServiceController { @@ -52,6 +70,9 @@ public class MessageServiceController { } } + /** + * waitTerminate waits blocking for all MessageServices to terminate + */ private void waitTerminate() { for (MessageService msgSrv : messageServiceList){ try { diff --git a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/RTServices.java b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/RTServices.java index 54c03c2d8..b029c7257 100644 --- a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/RTServices.java +++ b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/messaging/RTServices.java @@ -1,5 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2011 protos software gmbh (http://www.protos.de). + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * CONTRIBUTORS: + * Thomas Schuetz + * + *******************************************************************************/ + package org.eclipse.etrice.runtime.java.messaging; +/** + * RTServices is the single point of access to all runtime services in one SubSystem + * e.g. MessageServices, DebuggingService, ... + * + * @author Thomas Schuetz + * + */ public class RTServices { private RTServices(){ diff --git a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/SubSystemClassBase.java b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/SubSystemClassBase.java index 8e10887d3..398069176 100644 --- a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/SubSystemClassBase.java +++ b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/modelbase/SubSystemClassBase.java @@ -16,7 +16,8 @@ import org.eclipse.etrice.runtime.java.messaging.RTObject; import org.eclipse.etrice.runtime.java.messaging.RTServices;
/**
- * The base class for model component classes.
+ * The base class for all SubSystems.
+ * It and its derived classes take care of the instantiation, binding (connection) and complete lifecycle of all Actor Classes of a SubSystem
*
* @author Henrik Rentz-Reichert
*
|