tom | b36046e | 2014-08-27 00:22:24 -0700 | [diff] [blame] | 1 | package org.onlab.onos.event; |
2 | |||||
3 | /** | ||||
4 | * Test event fixture. | ||||
5 | */ | ||||
6 | public class TestEvent extends AbstractEvent<TestEvent.Type, String> { | ||||
7 | |||||
8 | public enum Type { FOO, BAR }; | ||||
9 | |||||
10 | public TestEvent(Type type, String subject) { | ||||
11 | super(type, subject); | ||||
12 | } | ||||
13 | |||||
14 | public TestEvent(Type type, String subject, long timestamp) { | ||||
15 | super(type, subject, timestamp); | ||||
16 | } | ||||
17 | |||||
18 | } | ||||
19 |