1 package org.openflow.codec.protocol.statistics;
3 import org.openflow.codec.io.IDataBuffer;
6 * The base class for all OpenFlow statistics.
8 * @author David Erickson (daviderickson@cs.stanford.edu) - Mar 11, 2010
10 public interface OFPStatistics {
12 * Returns the wire length of this message in bytes
16 public int getLength();
19 * Read this message off the wire from the specified DataBuffer
23 public void readFrom(IDataBuffer data);
26 * Write this message's binary format to the specified DataBuffer
30 public void writeTo(IDataBuffer data);