Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2014-04-27 16:25:13 +0000
committerslewis2014-04-27 16:25:13 +0000
commit6c62ddc8696d4f69b1bba99c36113263777f8729 (patch)
treeac88f6a2e1dcab5965e3ef4d517362b73c31c56d
parent43d08993e16bd02571102fb7b10c76d989f250a7 (diff)
downloadorg.eclipse.ecf-6c62ddc8696d4f69b1bba99c36113263777f8729.tar.gz
org.eclipse.ecf-6c62ddc8696d4f69b1bba99c36113263777f8729.tar.xz
org.eclipse.ecf-6c62ddc8696d4f69b1bba99c36113263777f8729.zip
Added copyright headers
-rw-r--r--examples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/src/org/eclipse/ecf/internal/examples/raspberrypi/management/host/Activator.java8
-rw-r--r--examples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/src/org/eclipse/ecf/internal/examples/raspberrypi/management/host/RaspberryPi.java11
-rw-r--r--examples/bundles/org.eclipse.ecf.examples.raspberrypi.management/src/org/eclipse/ecf/examples/raspberrypi/management/IRaspberryPi.java12
-rw-r--r--examples/bundles/org.eclipse.ecf.examples.raspberrypi.management/src/org/eclipse/ecf/examples/raspberrypi/management/IRaspberryPiAsync.java14
4 files changed, 45 insertions, 0 deletions
diff --git a/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/src/org/eclipse/ecf/internal/examples/raspberrypi/management/host/Activator.java b/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/src/org/eclipse/ecf/internal/examples/raspberrypi/management/host/Activator.java
index 843849a44..6ec9c5634 100644
--- a/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/src/org/eclipse/ecf/internal/examples/raspberrypi/management/host/Activator.java
+++ b/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/src/org/eclipse/ecf/internal/examples/raspberrypi/management/host/Activator.java
@@ -1,3 +1,11 @@
+/*******************************************************************************
+ * Copyright (c) 2014 Composent, Inc. 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: Scott Lewis (slewis@composent.com) - initial API and implementation
+ ******************************************************************************/
package org.eclipse.ecf.internal.examples.raspberrypi.management.host;
import java.util.Dictionary;
diff --git a/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/src/org/eclipse/ecf/internal/examples/raspberrypi/management/host/RaspberryPi.java b/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/src/org/eclipse/ecf/internal/examples/raspberrypi/management/host/RaspberryPi.java
index 1af1b8046..143338201 100644
--- a/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/src/org/eclipse/ecf/internal/examples/raspberrypi/management/host/RaspberryPi.java
+++ b/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/src/org/eclipse/ecf/internal/examples/raspberrypi/management/host/RaspberryPi.java
@@ -1,3 +1,11 @@
+/*******************************************************************************
+ * Copyright (c) 2014 Composent, Inc. 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: Scott Lewis (slewis@composent.com) - initial API and implementation
+ ******************************************************************************/
package org.eclipse.ecf.internal.examples.raspberrypi.management.host;
import java.util.HashMap;
@@ -6,6 +14,9 @@ import java.util.Properties;
import org.eclipse.ecf.examples.raspberrypi.management.IRaspberryPi;
+/**
+ * Implementation of IRaspberryPi service interface.
+ */
public class RaspberryPi implements IRaspberryPi {
@Override
diff --git a/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management/src/org/eclipse/ecf/examples/raspberrypi/management/IRaspberryPi.java b/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management/src/org/eclipse/ecf/examples/raspberrypi/management/IRaspberryPi.java
index b880a60d7..a3b07aee7 100644
--- a/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management/src/org/eclipse/ecf/examples/raspberrypi/management/IRaspberryPi.java
+++ b/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management/src/org/eclipse/ecf/examples/raspberrypi/management/IRaspberryPi.java
@@ -1,9 +1,21 @@
+/*******************************************************************************
+ * Copyright (c) 2014 Composent, Inc. 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: Scott Lewis (slewis@composent.com) - initial API and implementation
+ ******************************************************************************/
package org.eclipse.ecf.examples.raspberrypi.management;
import java.util.Map;
public interface IRaspberryPi {
+ /**
+ * Get system properties for the Raspberry Pi remote service host.
+ * @return Map<String,String> the system properties for the remote RP
+ */
public Map<String,String> getSystemProperties();
}
diff --git a/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management/src/org/eclipse/ecf/examples/raspberrypi/management/IRaspberryPiAsync.java b/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management/src/org/eclipse/ecf/examples/raspberrypi/management/IRaspberryPiAsync.java
index e79bbf6d6..da7016cac 100644
--- a/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management/src/org/eclipse/ecf/examples/raspberrypi/management/IRaspberryPiAsync.java
+++ b/examples/bundles/org.eclipse.ecf.examples.raspberrypi.management/src/org/eclipse/ecf/examples/raspberrypi/management/IRaspberryPiAsync.java
@@ -1,3 +1,11 @@
+/*******************************************************************************
+ * Copyright (c) 2014 Composent, Inc. 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: Scott Lewis (slewis@composent.com) - initial API and implementation
+ ******************************************************************************/
package org.eclipse.ecf.examples.raspberrypi.management;
import java.util.Map;
@@ -5,6 +13,12 @@ import java.util.concurrent.CompletableFuture;
public interface IRaspberryPiAsync {
+ /**
+ * Get remote system properties via CompletableFuture for non-blocking.
+ * Note: signature of this method is connected to {@link IRaspberryPi#getSystemProperties()}.
+ *
+ * @return CompletableFuture
+ */
public CompletableFuture<Map<String,String>> getSystemPropertiesAsync();
}

Back to the top