Java 类org.projectfloodlight.openflow.protocol.ver14.OFTableFeaturePropTypeSerializerVer14 实例源码

项目:fresco_floodlight    文件:TableFeatures.java   
private static OFTableFeaturePropType getTableFeaturePropType(OFTableFeatureProp p) {
    switch (p.getVersion()) {
    case OF_13:
        return OFTableFeaturePropTypeSerializerVer13.ofWireValue((short) p.getType());
    case OF_14:
        return OFTableFeaturePropTypeSerializerVer14.ofWireValue((short) p.getType());
    default:
        throw new IllegalArgumentException("OFVersion " + p.getVersion().toString() + " does not support OFTableFeature messages.");
    }
}
项目:SDN-Multicast    文件:TableFeatures.java   
private static OFTableFeaturePropType getTableFeaturePropType(OFTableFeatureProp p) {
    switch (p.getVersion()) {
    case OF_13:
        return OFTableFeaturePropTypeSerializerVer13.ofWireValue((short) p.getType());
    case OF_14:
        return OFTableFeaturePropTypeSerializerVer14.ofWireValue((short) p.getType());
    default:
        throw new IllegalArgumentException("OFVersion " + p.getVersion().toString() + " does not support OFTableFeature messages.");
    }
}
项目:arscheduler    文件:TableFeatures.java   
private static OFTableFeaturePropType getTableFeaturePropType(OFTableFeatureProp p) {
    switch (p.getVersion()) {
    case OF_13:
        return OFTableFeaturePropTypeSerializerVer13.ofWireValue((short) p.getType());
    case OF_14:
        return OFTableFeaturePropTypeSerializerVer14.ofWireValue((short) p.getType());
    default:
        throw new IllegalArgumentException("OFVersion " + p.getVersion().toString() + " does not support OFTableFeature messages.");
    }
}
项目:floodlight1.2-delay    文件:TableFeatures.java   
private static OFTableFeaturePropType getTableFeaturePropType(OFTableFeatureProp p) {
    switch (p.getVersion()) {
    case OF_13:
        return OFTableFeaturePropTypeSerializerVer13.ofWireValue((short) p.getType());
    case OF_14:
        return OFTableFeaturePropTypeSerializerVer14.ofWireValue((short) p.getType());
    default:
        throw new IllegalArgumentException("OFVersion " + p.getVersion().toString() + " does not support OFTableFeature messages.");
    }
}
项目:floodlight-hardware    文件:TableFeatures.java   
private static OFTableFeaturePropType getTableFeaturePropType(OFTableFeatureProp p) {
    switch (p.getVersion()) {
    case OF_13:
        return OFTableFeaturePropTypeSerializerVer13.ofWireValue((short) p.getType());
    case OF_14:
        return OFTableFeaturePropTypeSerializerVer14.ofWireValue((short) p.getType());
    default:
        throw new IllegalArgumentException("OFVersion " + p.getVersion().toString() + " does not support OFTableFeature messages.");
    }
}
项目:ACAMPController    文件:TableFeatures.java   
private static OFTableFeaturePropType getTableFeaturePropType(OFTableFeatureProp p) {
    switch (p.getVersion()) {
    case OF_13:
        return OFTableFeaturePropTypeSerializerVer13.ofWireValue((short) p.getType());
    case OF_14:
        return OFTableFeaturePropTypeSerializerVer14.ofWireValue((short) p.getType());
    default:
        throw new IllegalArgumentException("OFVersion " + p.getVersion().toString() + " does not support OFTableFeature messages.");
    }
}
项目:fast-failover-demo    文件:TableFeatures.java   
private static OFTableFeaturePropType getTableFeaturePropType(OFTableFeatureProp p) {
    switch (p.getVersion()) {
    case OF_13:
        return OFTableFeaturePropTypeSerializerVer13.ofWireValue((short) p.getType());
    case OF_14:
        return OFTableFeaturePropTypeSerializerVer14.ofWireValue((short) p.getType());
    default:
        throw new IllegalArgumentException("OFVersion " + p.getVersion().toString() + " does not support OFTableFeature messages.");
    }
}
项目:floodlightLB    文件:TableFeatures.java   
private static OFTableFeaturePropType getTableFeaturePropType(OFTableFeatureProp p) {
    switch (p.getVersion()) {
    case OF_13:
        return OFTableFeaturePropTypeSerializerVer13.ofWireValue((short) p.getType());
    case OF_14:
        return OFTableFeaturePropTypeSerializerVer14.ofWireValue((short) p.getType());
    default:
        throw new IllegalArgumentException("OFVersion " + p.getVersion().toString() + " does not support OFTableFeature messages.");
    }
}