Fix checkstyle warnings in netconf-cli
[controller.git] / third-party / openflowj / src / main / java / org / openflow / protocol / OFStatisticsReply.java
1 package org.openflow.protocol;
2
3 import org.openflow.util.U16;
4
5 /**
6  * Represents an ofp_stats_reply message
7  * @author David Erickson (daviderickson@cs.stanford.edu)
8  */
9 public class OFStatisticsReply extends OFStatisticsMessageBase {
10     public enum OFStatisticsReplyFlags {
11         REPLY_MORE      (1 << 0);
12
13         protected short type;
14
15         OFStatisticsReplyFlags(int type) {
16             this.type = (short) type;
17         }
18
19         public short getTypeValue() {
20             return type;
21         }
22     }
23
24     public OFStatisticsReply() {
25         super();
26         this.type = OFType.STATS_REPLY;
27         this.length = U16.t(OFStatisticsMessageBase.MINIMUM_LENGTH);
28     }
29 }