|
1 | 1 | package com.cisco.trex.stateful.model; |
2 | 2 |
|
3 | | -import com.fasterxml.jackson.annotation.JsonProperty; |
| 3 | +import com.google.gson.annotations.SerializedName; |
4 | 4 |
|
5 | 5 | /** counters for flow info */ |
6 | 6 | public class FlowInfoData { |
7 | 7 |
|
8 | | - @JsonProperty("duration") |
| 8 | + @SerializedName("duration") |
9 | 9 | private double duration; |
10 | 10 |
|
11 | | - @JsonProperty("last_data_recv") |
| 11 | + @SerializedName("last_data_recv") |
12 | 12 | private long lastDataRecv; |
13 | 13 |
|
14 | | - @JsonProperty("options") |
| 14 | + @SerializedName("options") |
15 | 15 | private String options; |
16 | 16 |
|
17 | | - @JsonProperty("origin") |
| 17 | + @SerializedName("origin") |
18 | 18 | private String origin; |
19 | 19 |
|
20 | | - @JsonProperty("rcv_mss") |
| 20 | + @SerializedName("rcv_mss") |
21 | 21 | private long rcvMss; |
22 | 22 |
|
23 | | - @JsonProperty("rcv_nxt") |
| 23 | + @SerializedName("rcv_nxt") |
24 | 24 | private long rcvNxt; |
25 | 25 |
|
26 | | - @JsonProperty("rcv_ooopack") |
| 26 | + @SerializedName("rcv_ooopack") |
27 | 27 | private long rcvOoopack; |
28 | 28 |
|
29 | | - @JsonProperty("rcv_space") |
| 29 | + @SerializedName("rcv_space") |
30 | 30 | private long rcvSpace; |
31 | 31 |
|
32 | | - @JsonProperty("rcv_wscale") |
| 32 | + @SerializedName("rcv_wscale") |
33 | 33 | private short rcvWscale; |
34 | 34 |
|
35 | | - @JsonProperty("rto") |
| 35 | + @SerializedName("rto") |
36 | 36 | private long rto; |
37 | 37 |
|
38 | | - @JsonProperty("rtt") |
| 38 | + @SerializedName("rtt") |
39 | 39 | private long rtt; |
40 | 40 |
|
41 | | - @JsonProperty("rttvar") |
| 41 | + @SerializedName("rttvar") |
42 | 42 | private long rttvar; |
43 | 43 |
|
44 | | - @JsonProperty("snd_cwnd") |
| 44 | + @SerializedName("snd_cwnd") |
45 | 45 | private long sndCwnd; |
46 | 46 |
|
47 | | - @JsonProperty("snd_mss") |
| 47 | + @SerializedName("snd_mss") |
48 | 48 | private long sndMss; |
49 | 49 |
|
50 | | - @JsonProperty("snd_nxt") |
| 50 | + @SerializedName("snd_nxt") |
51 | 51 | private long sndNxt; |
52 | 52 |
|
53 | | - @JsonProperty("snd_rexmitpack") |
| 53 | + @SerializedName("snd_rexmitpack") |
54 | 54 | private long sndRexmitpack; |
55 | 55 |
|
56 | | - @JsonProperty("snd_ssthresh") |
| 56 | + @SerializedName("snd_ssthresh") |
57 | 57 | private long sndSsthresh; |
58 | 58 |
|
59 | | - @JsonProperty("snd_wnd") |
| 59 | + @SerializedName("snd_wnd") |
60 | 60 | private long sndWnd; |
61 | 61 |
|
62 | | - @JsonProperty("snd_wscale") |
| 62 | + @SerializedName("snd_wscale") |
63 | 63 | private short sndWscale; |
64 | 64 |
|
65 | | - @JsonProperty("snd_zerowin") |
| 65 | + @SerializedName("snd_zerowin") |
66 | 66 | private long sndZerowin; |
67 | 67 |
|
68 | | - @JsonProperty("state") |
| 68 | + @SerializedName("state") |
69 | 69 | private long state; |
70 | 70 |
|
71 | 71 | public double getDuration() { |
|
0 commit comments