blob: 09f0d96a016571883e37847800c0b5c275a33e85 [file] [log] [blame]
package org.onlab.onos.net;
/**
* Example of a simple service that provides greetings and it
* remembers the names which were greeted.
*/
public interface GreetService {
/**
* Returns a greeting tailored to the specified name.
*
* @param name some name
* @return greeting
*/
String yo(String name);
/**
* Returns an iterable of names encountered thus far.
*
* @return iterable of names
*/
Iterable<String> names();
}