本文整理汇总了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);
}
}
示例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);
}
}
示例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);
}
}