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


Java OFMessageDamper类代码示例

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


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

示例1: init

import net.floodlightcontroller.util.OFMessageDamper; //导入依赖的package包/类
@Override
public void init(FloodlightModuleContext context) throws FloodlightModuleException 
{
	
	floodlightProvider = context.getServiceImpl(IFloodlightProviderService.class);
	
       deviceService = context.getServiceImpl(IDeviceService.class);
       routingService = context.getServiceImpl(IRoutingService.class);
       switchService = context.getServiceImpl(IOFSwitchService.class);
	linkService = context.getServiceImpl(ILinkDiscoveryService.class);
	
       messageDamper =  new OFMessageDamper(OFMESSAGE_DAMPER_CAPACITY,
			EnumSet.of(OFType.FLOW_MOD),
			OFMESSAGE_DAMPER_TIMEOUT);
       
	library = new FP_LibFloodlight( LoggerFactory.getLogger( getClass() ));
	
}
 
开发者ID:xuraylei,项目名称:fresco_floodlight,代码行数:19,代码来源:FP_FloodlightRTE.java

示例2: init

import net.floodlightcontroller.util.OFMessageDamper; //导入依赖的package包/类
@Override
public void init(FloodlightModuleContext context)
                                             throws FloodlightModuleException {
    floodlightProvider = context.getServiceImpl(IFloodlightProviderService.class);
    restApi = context.getServiceImpl(IRestApiService.class);
    counterStore = context.getServiceImpl(ICounterStoreService.class);
    deviceManager = context.getServiceImpl(IDeviceService.class);
    routingEngine = context.getServiceImpl(IRoutingService.class);
    topology = context.getServiceImpl(ITopologyService.class);
    sfp = context.getServiceImpl(IStaticFlowEntryPusherService.class);
    
    messageDamper = new OFMessageDamper(OFMESSAGE_DAMPER_CAPACITY, 
                                        EnumSet.of(OFType.FLOW_MOD),
                                        OFMESSAGE_DAMPER_TIMEOUT);
    
    vips = new HashMap<String, LBVip>();
    pools = new HashMap<String, LBPool>();
    members = new HashMap<String, LBMember>();
    vipIpToId = new HashMap<Integer, String>();
    vipIpToMac = new HashMap<Integer, MACAddress>();
    memberIpToId = new HashMap<Integer, String>();
}
 
开发者ID:JianqingJiang,项目名称:QoS-floodlight,代码行数:23,代码来源:LoadBalancer.java

示例3: init

import net.floodlightcontroller.util.OFMessageDamper; //导入依赖的package包/类
/**
 * init data structures
 *
 */
protected void init() {
	messageDamper = new OFMessageDamper(OFMESSAGE_DAMPER_CAPACITY,
			EnumSet.of(OFType.FLOW_MOD),
			OFMESSAGE_DAMPER_TIMEOUT);

}
 
开发者ID:nsg-ethz,项目名称:iTAP-controller,代码行数:11,代码来源:ForwardingBase.java

示例4: init

import net.floodlightcontroller.util.OFMessageDamper; //导入依赖的package包/类
@Override
public void init(FloodlightModuleContext context)
		throws FloodlightModuleException {
	// TODO Auto-generated method stub
	this.floodlightProviderService = context.getServiceImpl(IFloodlightProviderService.class);
	this.topologyService = context.getServiceImpl(ITopologyService.class);
	this.switchService = context.getServiceImpl(IOFSwitchService.class);
	this.routingEngineService = context.getServiceImpl(IRoutingService.class);
	this.massivefailurerecoveryservice = context.getServiceImpl(IMassiveFailureRecoveryService.class);
	messageDamper = new OFMessageDamper(OFMESSAGE_DAMPER_CAPACITY,
			EnumSet.of(OFType.FLOW_MOD),
			OFMESSAGE_DAMPER_TIMEOUT);
	this.faillinks_num = 0;
}
 
开发者ID:pixuan,项目名称:floodlight,代码行数:15,代码来源:failure_detection.java

示例5: init

import net.floodlightcontroller.util.OFMessageDamper; //导入依赖的package包/类
@Override
public void init(FloodlightModuleContext context)
		throws FloodlightModuleException {
	// TODO Auto-generated method stub
	this.floodlightProviderService = context.getServiceImpl(IFloodlightProviderService.class);
	this.topologyService = context.getServiceImpl(ITopologyService.class);
	this.switchService = context.getServiceImpl(IOFSwitchService.class);
	this.linkdiscoveryservice = context.getServiceImpl(ILinkDiscoveryService.class);
	this.getdeviceservice = context.getServiceImpl(IGetDeviceService.class);
	
	messageDamper = new OFMessageDamper(OFMESSAGE_DAMPER_CAPACITY,
			EnumSet.of(OFType.FLOW_MOD),
			OFMESSAGE_DAMPER_TIMEOUT);

}
 
开发者ID:pixuan,项目名称:floodlight,代码行数:16,代码来源:Massive_failure_recovery.java

示例6: init

import net.floodlightcontroller.util.OFMessageDamper; //导入依赖的package包/类
@Override
public void init(FloodlightModuleContext context)
		throws FloodlightModuleException {
	// TODO Auto-generated method stub
	floodlightProvider = context.getServiceImpl(IFloodlightProviderService.class);
    log = LoggerFactory.getLogger(IGMPCapture.class);
    stEngine = context.getServiceImpl(IMulticastService.class);
       this.messageDamper = new OFMessageDamper(OFMESSAGE_DAMPER_CAPACITY,
               EnumSet.of(OFType.FLOW_MOD),
               OFMESSAGE_DAMPER_TIMEOUT);
       this.counterStore = context.getServiceImpl(ICounterStoreService.class);
    
}
 
开发者ID:daniel666,项目名称:multicastSDN,代码行数:14,代码来源:IGMPCapture.java

示例7: init

import net.floodlightcontroller.util.OFMessageDamper; //导入依赖的package包/类
protected void init() {
	messageDamper = new OFMessageDamper(OFMESSAGE_DAMPER_CAPACITY,
			EnumSet.of(OFType.FLOW_MOD),
			OFMESSAGE_DAMPER_TIMEOUT);
}
 
开发者ID:xuraylei,项目名称:fresco_floodlight,代码行数:6,代码来源:ForwardingBase.java

示例8: init

import net.floodlightcontroller.util.OFMessageDamper; //导入依赖的package包/类
/**
 * init data structures
 *
 */
protected void init() {
    messageDamper = new OFMessageDamper(OFMESSAGE_DAMPER_CAPACITY,
                                        EnumSet.of(OFType.FLOW_MOD),
                                        OFMESSAGE_DAMPER_TIMEOUT);
}
 
开发者ID:JianqingJiang,项目名称:QoS-floodlight,代码行数:10,代码来源:ForwardingBase.java

示例9: init

import net.floodlightcontroller.util.OFMessageDamper; //导入依赖的package包/类
/**
 * init data structures
 * 
 */
protected void init() {
    messageDamper = new OFMessageDamper(OFMESSAGE_DAMPER_CAPACITY, 
                                        EnumSet.of(OFType.FLOW_MOD),
                                        OFMESSAGE_DAMPER_TIMEOUT);
}
 
开发者ID:vishalshubham,项目名称:Multipath-Hedera-system-in-Floodlight-controller,代码行数:10,代码来源:ForwardingBase.java

示例10: init

import net.floodlightcontroller.util.OFMessageDamper; //导入依赖的package包/类
/**
 * init data structures
 *
 */
protected void init() {
	messageDamper = new OFMessageDamper(OFMESSAGE_DAMPER_CAPACITY,
			EnumSet.of(OFType.FLOW_MOD),
			OFMESSAGE_DAMPER_TIMEOUT);
}
 
开发者ID:pixuan,项目名称:floodlight,代码行数:10,代码来源:AbstractFailoverForwarding.java


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