Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
dxa-helloworld: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Nothaas committed Feb 18, 2019
1 parent 201ceb3 commit 21c06df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
import de.hhu.bsinfo.dxutils.NodeID;

/**
* "Hello world" example DXRAM application
* "Hello world" example DXRAM application.
*
* @author Stefan Nothaas, [email protected], 17.05.17
*/
public class HelloWorld extends AbstractApplication {
public class HelloApplication extends AbstractApplication {
@Override
public DXRAMVersion getBuiltAgainstVersion() {
return BuildConfig.DXRAM_VERSION;
}

@Override
public String getApplicationName() {
return "HelloWorld";
return "HelloApplication";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public HelloTask() {
@Override
public int execute(final TaskContext p_ctx) {
System.out.println("Hello from task running on slave " + p_ctx.getCtxData().getSlaveId());

// Put your code running as a task on DXRAM peers here

return 0;
}

Expand Down

0 comments on commit 21c06df

Please sign in to comment.