blob: 74fc973f98da095298c660331e500278af0877aa [file] [log] [blame]
Umesh Krishnaswamy345ee992012-12-13 20:29:48 -08001package net.floodlightcontroller.util;
2
3
4import org.codehaus.jackson.map.annotate.JsonSerialize;
5
6@JsonSerialize(using=EventHistoryBaseInfoJSONSerializer.class)
7public class EventHistoryBaseInfo {
8 public int idx;
9 public long time_ms; // timestamp in milliseconds
10 public EventHistory.EvState state;
11 public EventHistory.EvAction action;
12
13 // Getters
14 public int getIdx() {
15 return idx;
16 }
17 public long getTime_ms() {
18 return time_ms;
19 }
20 public EventHistory.EvState getState() {
21 return state;
22 }
23 public EventHistory.EvAction getAction() {
24 return action;
25 }
26}