1 package org.openflow.protocol.statistics;
3 import java.nio.ByteBuffer;
6 * The base class for all OpenFlow statistics.
8 * @author David Erickson (daviderickson@cs.stanford.edu) - Mar 11, 2010
10 public interface OFStatistics {
12 * Returns the wire length of this message in bytes
15 public int getLength();
18 * Read this message off the wire from the specified ByteBuffer
21 public void readFrom(ByteBuffer data);
24 * Write this message's binary format to the specified ByteBuffer
27 public void writeTo(ByteBuffer data);