blob: 09f0d96a016571883e37847800c0b5c275a33e85 [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001package org.onlab.onos.net;
2
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}