/*
* Copyright (c) 2013 Big Switch Networks, Inc.
*
* Licensed under the Eclipse Public License, Version 1.0 (the
* "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.eclipse.org/legal/epl-v10.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.sdnplatform.vendor;
import org.openflow.protocol.Instantiable;
import org.openflow.protocol.vendor.OFVendorData;
/**
* Subclass of OFVendorData
*/
public class OFMirrorGetVendorDataReply extends OFNetmaskVendorData {
protected static Instantiable<OFVendorData> instantiable =
new Instantiable<OFVendorData>() {
public OFVendorData instantiate() {
return new OFMirrorGetVendorDataReply();
}
};
/**
* @return a subclass of Instantiable<OFVendorData> that instantiates
* an instance of OFNetmaskGetVendorData.
*/
public static Instantiable<OFVendorData> getInstantiable() {
return instantiable;
}
/**
* Opcode/dataType to represent REPLY of GET_MASK request
*/
public static final int BSN_GET_MIRRORING_REPLY = 5;
/**
* Construct a get network mask vendor data
*/
public OFMirrorGetVendorDataReply() {
super(BSN_GET_MIRRORING_REPLY);
}
/**
* Construct a get network mask vendor data for a specific table entry
*/
public OFMirrorGetVendorDataReply(byte tableIndex, int netMask) {
super(BSN_GET_MIRRORING_REPLY, tableIndex, netMask);
}
}