当前位置: 首页>>代码示例>>Java>>正文


Java OFTableFeaturePropType.WRITE_SETFIELD_MISS属性代码示例

本文整理汇总了Java中org.projectfloodlight.openflow.protocol.OFTableFeaturePropType.WRITE_SETFIELD_MISS属性的典型用法代码示例。如果您正苦于以下问题:Java OFTableFeaturePropType.WRITE_SETFIELD_MISS属性的具体用法?Java OFTableFeaturePropType.WRITE_SETFIELD_MISS怎么用?Java OFTableFeaturePropType.WRITE_SETFIELD_MISS使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.projectfloodlight.openflow.protocol.OFTableFeaturePropType的用法示例。


在下文中一共展示了OFTableFeaturePropType.WRITE_SETFIELD_MISS属性的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: ofWireValue

public static OFTableFeaturePropType ofWireValue(short val) {
    switch(val) {
        case INSTRUCTIONS_VAL:
            return OFTableFeaturePropType.INSTRUCTIONS;
        case INSTRUCTIONS_MISS_VAL:
            return OFTableFeaturePropType.INSTRUCTIONS_MISS;
        case NEXT_TABLES_VAL:
            return OFTableFeaturePropType.NEXT_TABLES;
        case NEXT_TABLES_MISS_VAL:
            return OFTableFeaturePropType.NEXT_TABLES_MISS;
        case WRITE_ACTIONS_VAL:
            return OFTableFeaturePropType.WRITE_ACTIONS;
        case WRITE_ACTIONS_MISS_VAL:
            return OFTableFeaturePropType.WRITE_ACTIONS_MISS;
        case APPLY_ACTIONS_VAL:
            return OFTableFeaturePropType.APPLY_ACTIONS;
        case APPLY_ACTIONS_MISS_VAL:
            return OFTableFeaturePropType.APPLY_ACTIONS_MISS;
        case MATCH_VAL:
            return OFTableFeaturePropType.MATCH;
        case WILDCARDS_VAL:
            return OFTableFeaturePropType.WILDCARDS;
        case WRITE_SETFIELD_VAL:
            return OFTableFeaturePropType.WRITE_SETFIELD;
        case WRITE_SETFIELD_MISS_VAL:
            return OFTableFeaturePropType.WRITE_SETFIELD_MISS;
        case APPLY_SETFIELD_VAL:
            return OFTableFeaturePropType.APPLY_SETFIELD;
        case APPLY_SETFIELD_MISS_VAL:
            return OFTableFeaturePropType.APPLY_SETFIELD_MISS;
        case EXPERIMENTER_VAL:
            return OFTableFeaturePropType.EXPERIMENTER;
        case EXPERIMENTER_MISS_VAL:
            return OFTableFeaturePropType.EXPERIMENTER_MISS;
        default:
            throw new IllegalArgumentException("Illegal wire value for type OFTableFeaturePropType in version 1.3: " + val);
    }
}
 
开发者ID:o3project,项目名称:openflowj-otn,代码行数:38,代码来源:OFTableFeaturePropTypeSerializerVer13.java

示例2: ofWireValue

public static OFTableFeaturePropType ofWireValue(short val) {
    switch(val) {
        case INSTRUCTIONS_VAL:
            return OFTableFeaturePropType.INSTRUCTIONS;
        case INSTRUCTIONS_MISS_VAL:
            return OFTableFeaturePropType.INSTRUCTIONS_MISS;
        case NEXT_TABLES_VAL:
            return OFTableFeaturePropType.NEXT_TABLES;
        case NEXT_TABLES_MISS_VAL:
            return OFTableFeaturePropType.NEXT_TABLES_MISS;
        case WRITE_ACTIONS_VAL:
            return OFTableFeaturePropType.WRITE_ACTIONS;
        case WRITE_ACTIONS_MISS_VAL:
            return OFTableFeaturePropType.WRITE_ACTIONS_MISS;
        case APPLY_ACTIONS_VAL:
            return OFTableFeaturePropType.APPLY_ACTIONS;
        case APPLY_ACTIONS_MISS_VAL:
            return OFTableFeaturePropType.APPLY_ACTIONS_MISS;
        case MATCH_VAL:
            return OFTableFeaturePropType.MATCH;
        case WILDCARDS_VAL:
            return OFTableFeaturePropType.WILDCARDS;
        case WRITE_SETFIELD_VAL:
            return OFTableFeaturePropType.WRITE_SETFIELD;
        case WRITE_SETFIELD_MISS_VAL:
            return OFTableFeaturePropType.WRITE_SETFIELD_MISS;
        case APPLY_SETFIELD_VAL:
            return OFTableFeaturePropType.APPLY_SETFIELD;
        case APPLY_SETFIELD_MISS_VAL:
            return OFTableFeaturePropType.APPLY_SETFIELD_MISS;
        case TABLE_SYNC_FROM_VAL:
            return OFTableFeaturePropType.TABLE_SYNC_FROM;
        case EXPERIMENTER_VAL:
            return OFTableFeaturePropType.EXPERIMENTER;
        case EXPERIMENTER_MISS_VAL:
            return OFTableFeaturePropType.EXPERIMENTER_MISS;
        default:
            throw new IllegalArgumentException("Illegal wire value for type OFTableFeaturePropType in version 1.4: " + val);
    }
}
 
开发者ID:o3project,项目名称:openflowj-otn,代码行数:40,代码来源:OFTableFeaturePropTypeSerializerVer14.java

示例3: ofWireValue

public static OFTableFeaturePropType ofWireValue(short val) {
    switch(val) {
        case INSTRUCTIONS_VAL:
            return OFTableFeaturePropType.INSTRUCTIONS;
        case INSTRUCTIONS_MISS_VAL:
            return OFTableFeaturePropType.INSTRUCTIONS_MISS;
        case NEXT_TABLES_VAL:
            return OFTableFeaturePropType.NEXT_TABLES;
        case NEXT_TABLES_MISS_VAL:
            return OFTableFeaturePropType.NEXT_TABLES_MISS;
        case WRITE_ACTIONS_VAL:
            return OFTableFeaturePropType.WRITE_ACTIONS;
        case WRITE_ACTIONS_MISS_VAL:
            return OFTableFeaturePropType.WRITE_ACTIONS_MISS;
        case APPLY_ACTIONS_VAL:
            return OFTableFeaturePropType.APPLY_ACTIONS;
        case APPLY_ACTIONS_MISS_VAL:
            return OFTableFeaturePropType.APPLY_ACTIONS_MISS;
        case MATCH_VAL:
            return OFTableFeaturePropType.MATCH;
        case WILDCARDS_VAL:
            return OFTableFeaturePropType.WILDCARDS;
        case WRITE_SETFIELD_VAL:
            return OFTableFeaturePropType.WRITE_SETFIELD;
        case WRITE_SETFIELD_MISS_VAL:
            return OFTableFeaturePropType.WRITE_SETFIELD_MISS;
        case APPLY_SETFIELD_VAL:
            return OFTableFeaturePropType.APPLY_SETFIELD;
        case APPLY_SETFIELD_MISS_VAL:
            return OFTableFeaturePropType.APPLY_SETFIELD_MISS;
        case TABLE_SYNC_FROM_VAL:
            return OFTableFeaturePropType.TABLE_SYNC_FROM;
        case WRITE_COPYFIELD_VAL:
            return OFTableFeaturePropType.WRITE_COPYFIELD;
        case WRITE_COPYFIELD_MISS_VAL:
            return OFTableFeaturePropType.WRITE_COPYFIELD_MISS;
        case APPLY_COPYFIELD_VAL:
            return OFTableFeaturePropType.APPLY_COPYFIELD;
        case APPLY_COPYFIELD_MISS_VAL:
            return OFTableFeaturePropType.APPLY_COPYFIELD_MISS;
        case PACKET_TYPES_VAL:
            return OFTableFeaturePropType.PACKET_TYPES;
        case EXPERIMENTER_VAL:
            return OFTableFeaturePropType.EXPERIMENTER;
        case EXPERIMENTER_MISS_VAL:
            return OFTableFeaturePropType.EXPERIMENTER_MISS;
        default:
            throw new IllegalArgumentException("Illegal wire value for type OFTableFeaturePropType in version 1.5: " + val);
    }
}
 
开发者ID:floodlight,项目名称:loxigen-artifacts,代码行数:50,代码来源:OFTableFeaturePropTypeSerializerVer15.java


注:本文中的org.projectfloodlight.openflow.protocol.OFTableFeaturePropType.WRITE_SETFIELD_MISS属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。