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


Java FCQueryEvType类代码示例

本文整理汇总了Java中net.floodlightcontroller.flowcache.IFlowCacheService.FCQueryEvType的典型用法代码示例。如果您正苦于以下问题:Java FCQueryEvType类的具体用法?Java FCQueryEvType怎么用?Java FCQueryEvType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: FCQueryObj

import net.floodlightcontroller.flowcache.IFlowCacheService.FCQueryEvType; //导入依赖的package包/类
/**
 * Instantiates a new flow cache query object
 */
public FCQueryObj(IFlowQueryHandler fcQueryHandler,
        String        applInstName,
        Short         vlan,
        IDevice       srcDevice,
        IDevice       dstDevice,
        String        callerName,
        FCQueryEvType evType,
        Object        callerOpaqueObj) {
    this.fcQueryHandler    = fcQueryHandler;
    this.applInstName     = applInstName;
    this.srcDevice        = srcDevice;
    this.dstDevice        = dstDevice;
    this.callerName       = callerName;
    this.evType           = evType;
    this.callerOpaqueObj  = callerOpaqueObj;
    
    if (vlan != null) {
    	this.vlans = new Short[] { vlan };
    } else {
        this.vlans = null;
    }
}
 
开发者ID:dana-i2cat,项目名称:floodlight-nfv,代码行数:26,代码来源:FCQueryObj.java

示例2: FCQueryObj

import net.floodlightcontroller.flowcache.IFlowCacheService.FCQueryEvType; //导入依赖的package包/类
/**
 * Instantiates a new flow cache query object
 */
public FCQueryObj(IFlowQueryHandler fcQueryHandler,
        String        applInstName,
        Short         vlan,
        IDevice       srcDevice,
        IDevice       dstDevice,
        String        callerName,
        FCQueryEvType evType,
        Object        callerOpaqueObj) {
    this.fcQueryHandler    = fcQueryHandler;
    this.applInstName     = applInstName;
    this.srcDevice        = srcDevice;
    this.dstDevice        = dstDevice;
    this.callerName       = callerName;
    this.evType           = evType;
    this.callerOpaqueObj  = callerOpaqueObj;
    
    if (vlan != null) {
    	this.vlans = new Short[] { vlan };
    } else {
     if (srcDevice != null) {
     	this.vlans = srcDevice.getVlanId();
     } else if (dstDevice != null) {
         this.vlans = dstDevice.getVlanId();
     }
    }
}
 
开发者ID:vishalshubham,项目名称:Multipath-Hedera-system-in-Floodlight-controller,代码行数:30,代码来源:FCQueryObj.java

示例3: flowQueryGenericHandler

import net.floodlightcontroller.flowcache.IFlowCacheService.FCQueryEvType; //导入依赖的package包/类
@Override
public void flowQueryGenericHandler(FlowCacheQueryResp flowResp) {
    if (flowResp.queryObj.evType != FCQueryEvType.GET) {
        OFMatchReconcile ofmRc = new OFMatchReconcile();;
        /* Re-provision these flows */
        for (QRFlowCacheObj entry : flowResp.qrFlowCacheObjList) {
            /* reconcile the flows in entry */
            entry.toOFMatchReconcile(ofmRc,
                    flowResp.queryObj.applInstName,
                    OFMatchReconcile.ReconcileAction.UPDATE_PATH);
            reconcileFlow(ofmRc);
        }
    }
    return;
}
 
开发者ID:vishalshubham,项目名称:Multipath-Hedera-system-in-Floodlight-controller,代码行数:16,代码来源:FlowReconcileManager.java

示例4: updateFlowForDestinationDevice

import net.floodlightcontroller.flowcache.IFlowCacheService.FCQueryEvType; //导入依赖的package包/类
@Override
public void updateFlowForDestinationDevice(IDevice device,
                                        IFlowQueryHandler handler,
                                        FCQueryEvType fcEvType) {
    // NO-OP
}
 
开发者ID:vishalshubham,项目名称:Multipath-Hedera-system-in-Floodlight-controller,代码行数:7,代码来源:FlowReconcileManager.java

示例5: updateFlowForSourceDevice

import net.floodlightcontroller.flowcache.IFlowCacheService.FCQueryEvType; //导入依赖的package包/类
@Override
public void updateFlowForSourceDevice(IDevice device,
                                      IFlowQueryHandler handler,
                                      FCQueryEvType fcEvType) {
    // NO-OP
}
 
开发者ID:vishalshubham,项目名称:Multipath-Hedera-system-in-Floodlight-controller,代码行数:7,代码来源:FlowReconcileManager.java

示例6: PendingSwitchResp

import net.floodlightcontroller.flowcache.IFlowCacheService.FCQueryEvType; //导入依赖的package包/类
public PendingSwitchResp(
        FCQueryEvType evType) {
    this.evType      = evType;
}
 
开发者ID:vishalshubham,项目名称:Multipath-Hedera-system-in-Floodlight-controller,代码行数:5,代码来源:PendingSwitchResp.java

示例7: getEvType

import net.floodlightcontroller.flowcache.IFlowCacheService.FCQueryEvType; //导入依赖的package包/类
public FCQueryEvType getEvType() {
    return evType;
}
 
开发者ID:vishalshubham,项目名称:Multipath-Hedera-system-in-Floodlight-controller,代码行数:4,代码来源:PendingSwitchResp.java

示例8: setEvType

import net.floodlightcontroller.flowcache.IFlowCacheService.FCQueryEvType; //导入依赖的package包/类
public void setEvType(FCQueryEvType evType) {
    this.evType = evType;
}
 
开发者ID:vishalshubham,项目名称:Multipath-Hedera-system-in-Floodlight-controller,代码行数:4,代码来源:PendingSwitchResp.java


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