org.openflow.protocol.statistics
Class OFGroupBucketCounter

java.lang.Object
  extended by org.openflow.protocol.statistics.OFGroupBucketCounter

public class OFGroupBucketCounter
extends java.lang.Object

Represents an ofp_bucket_counter structure

Author:
Srini Seetharaman (srini.seetharaman@gmail.com)

Field Summary
static int MINIMUM_LENGTH
           
 
Constructor Summary
OFGroupBucketCounter()
           
OFGroupBucketCounter(long packetCount, long byteCount)
           
 
Method Summary
 long getByteCount()
           
 int getLength()
           
 long getPacketCount()
           
 void readFrom(java.nio.ByteBuffer data)
           
 void setByteCount(long byteCount)
           
 void setPacketCount(long packetCount)
           
 java.lang.String toString()
           
 void writeTo(java.nio.ByteBuffer data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MINIMUM_LENGTH

public static final int MINIMUM_LENGTH
See Also:
Constant Field Values
Constructor Detail

OFGroupBucketCounter

public OFGroupBucketCounter()

OFGroupBucketCounter

public OFGroupBucketCounter(long packetCount,
                            long byteCount)
Method Detail

getPacketCount

public long getPacketCount()

setPacketCount

public void setPacketCount(long packetCount)

getByteCount

public long getByteCount()

setByteCount

public void setByteCount(long byteCount)

getLength

public int getLength()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

readFrom

public void readFrom(java.nio.ByteBuffer data)

writeTo

public void writeTo(java.nio.ByteBuffer data)