![JAR search and dependency download from the Maven repository](/logo.png)
org.objectweb.fractal.bf.ServiceImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of helloworld Show documentation
Show all versions of helloworld Show documentation
The BindingFactory HelloWorld example, with TCP and Group bindings
The newest version!
package org.objectweb.fractal.bf;
/**
* A simple implementation of the {@link Service} interface.
*
* @author [email protected]
*
*/
public class ServiceImpl implements Service, Runnable
{
/**
* Print a nice message.
*/
public void print()
{
System.out.println("Hello BindingFactory");
}
/**
* Return a nice message.
*/
public String printAndAnswer()
{
return "Message received from the Service component";
}
/**
* @see java.lang.Runnable#run()
*/
public void run()
{
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy