Fix checkstyle warnings in netconf-cli
[controller.git] / third-party / openflowj / src / main / java / org / openflow / protocol / statistics / OFStatistics.java
1 package org.openflow.protocol.statistics;
2
3 import java.nio.ByteBuffer;
4
5 /**
6  * The base class for all OpenFlow statistics.
7  *
8  * @author David Erickson (daviderickson@cs.stanford.edu) - Mar 11, 2010
9  */
10 public interface OFStatistics {
11     /**
12      * Returns the wire length of this message in bytes
13      * @return the length
14      */
15     public int getLength();
16
17     /**
18      * Read this message off the wire from the specified ByteBuffer
19      * @param data
20      */
21     public void readFrom(ByteBuffer data);
22
23     /**
24      * Write this message's binary format to the specified ByteBuffer
25      * @param data
26      */
27     public void writeTo(ByteBuffer data);
28 }