blob: c196147d43030f0647da1e3dfe4430aea762ecfb [file] [log] [blame]
tom5ac51882014-08-27 18:10:33 -07001package org.onlab.onos;
tom0eb04ca2014-08-25 14:34:51 -07002
3/**
4 * Example of a simple service that provides greetings and it
5 * remembers the names which were greeted.
6 */
7public interface GreetService {
8
9 /**
10 * Returns a greeting tailored to the specified name.
11 *
12 * @param name some name
13 * @return greeting
14 */
15 String yo(String name);
16
17 /**
18 * Returns an iterable of names encountered thus far.
19 *
20 * @return iterable of names
21 */
22 Iterable<String> names();
23}