diff options
author | slewis | 2014-04-27 16:25:13 +0000 |
---|---|---|
committer | slewis | 2014-04-27 16:25:13 +0000 |
commit | 6c62ddc8696d4f69b1bba99c36113263777f8729 (patch) | |
tree | ac88f6a2e1dcab5965e3ef4d517362b73c31c56d /examples/bundles/org.eclipse.ecf.examples.raspberrypi.management | |
parent | 43d08993e16bd02571102fb7b10c76d989f250a7 (diff) | |
download | org.eclipse.ecf-6c62ddc8696d4f69b1bba99c36113263777f8729.tar.gz org.eclipse.ecf-6c62ddc8696d4f69b1bba99c36113263777f8729.tar.xz org.eclipse.ecf-6c62ddc8696d4f69b1bba99c36113263777f8729.zip |
Added copyright headers
Change-Id: I33f5073182341e63c84360ff238cb18c41129fe3
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.examples.raspberrypi.management')
2 files changed, 26 insertions, 0 deletions
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(); } |