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