import java.nio.ByteBuffer;
import java.util.List;
-import org.apache.commons.lang3.builder.EqualsBuilder;
-import org.apache.commons.lang3.builder.HashCodeBuilder;
-import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.openflow.protocol.action.OFAction;
import org.openflow.protocol.statistics.OFVendorStatistics;
import org.openflow.util.U16;
/**
* This Class processes the OpenFlow Vendor Extension Reply message of a Stats
* Request. It parses the reply message and initializes fields of V6StatsReply
- * object. Multiple instances of this class objects are created and used by
+ * object. Multiple instances of this class objects are created and used by
* OpenDaylight's Troubleshooting Application.
- *
+ *
*/
public class V6StatsReply extends OFVendorStatistics {
* action list may be preceded by a padding of 0 to 7 bytes based upon this:
*/
short pad_size = (short) (((match_len + 7) / 8) * 8 - match_len);
- for (i = 0; i < pad_size; i++)
+ for (i = 0; i < pad_size; i++) {
data.get();
+ }
int action_len = this.length - MINIMUM_LENGTH - (match_len + pad_size);
if (action_len > 0)
this.actions = this.actionFactory.parseActions(data, action_len);
}
- @Override
- public void writeTo(ByteBuffer data) {
- super.writeTo(data);//TBD. This Fn needs work. Should never get called though.
-
- }
-
@Override
public int hashCode() {
final int prime = 31;