All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.projectfloodlight.openflow.exceptions.NonExistantMessage Maven / Gradle / Ivy

Go to download

OpenFlowJ API supporting OpenFlow versions 1.0 through 1.5.1, generated by LoxiGen

The newest version!
package org.projectfloodlight.openflow.exceptions;

/**
 * Error: someone asked to create an OFMessage with wireformat type and version,
 * but that doesn't exist
 *
 * @author capveg
 */
public class NonExistantMessage extends Exception {

    private static final long serialVersionUID = 1L;
    byte type;
    byte version;

    /**
     * Error: someone asked to create an OFMessage with wireformat type and
     * version, but that doesn't exist
     *
     * @param type
     *            the wire format
     * @param version
     *            the OpenFlow wireformat version number, e.g. 1 == v1.1, 2 =
     *            v1.2, etc.
     */
    public NonExistantMessage(final byte type, final byte version) {
        this.type = type;
        this.version = version;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy