Madan Jampani | fd26ffb | 2014-10-13 14:08:55 -0700 | [diff] [blame^] | 1 | package org.onlab.onos.net.host; |
2 | |||||
3 | import org.onlab.onos.store.Timestamp; | ||||
4 | import org.onlab.packet.MacAddress; | ||||
5 | |||||
6 | /** | ||||
7 | * Interface for a logical clock service that issues per host timestamps. | ||||
8 | */ | ||||
9 | public interface HostClockService { | ||||
10 | |||||
11 | /** | ||||
12 | * Returns a new timestamp for the specified host mac address. | ||||
13 | * @param hostMac host MAC address. | ||||
14 | * @return timestamp. | ||||
15 | */ | ||||
16 | public Timestamp getTimestamp(MacAddress hostMac); | ||||
17 | } |