congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
PacketService.removeProcessor
Code IndexAdd Tabnine to your IDE (free)

How to use
removeProcessor
method
in
org.onosproject.net.packet.PacketService

Best Java code snippets using org.onosproject.net.packet.PacketService.removeProcessor (Showing top 6 results out of 315)

origin: org.onosproject/onos-app-sfc-mgr

@Deactivate
public void deactivate() {
  vtnRscService.removeListener(vtnRscListener);
  packetService.removeProcessor(processor);
  log.info("Stopped");
}
origin: org.onosproject/onos-core-net

@Deactivate
protected void deactivate() {
  cancelPackets();
  packetService.removeProcessor(processor);
  componentConfigService.unregisterProperties(getClass(), false);
}
origin: org.onosproject/onos-app-proxyarp

@Deactivate
public void deactivate() {
  cfgService.unregisterProperties(getClass(), false);
  withdrawIntercepts();
  packetService.removeProcessor(processor);
  processor = null;
  log.info("Stopped");
}
origin: org.onosproject/onos-app-openstackswitching

@Deactivate
protected void deactivate() {
  packetService.removeProcessor(internalPacketProcessor);
  deviceService.removeListener(internalDeviceListener);
  deviceEventExecutorService.shutdown();
  configEventExecutorService.shutdown();
  hostService.removeListener(internalHostListener);
  configService.removeListener(configListener);
  configRegistry.unregisterConfigFactory(configFactory);
  log.info("Stopped");
}
origin: org.onosproject/onos-lldp-provider

/**
 * Disables link discovery processing.
 */
private void disable() {
  withdrawIntercepts();
  providerRegistry.unregister(this);
  masterService.removeListener(roleListener);
  deviceService.removeListener(deviceListener);
  packetService.removeProcessor(packetProcessor);
  if (executor != null) {
    executor.shutdownNow();
  }
  discoverers.values().forEach(LinkDiscovery::stop);
  discoverers.clear();
  providerService = null;
}
origin: org.onosproject/onos-app-pce

@Deactivate
protected void deactivate() {
  tunnelService.removeListener(listener);
  deviceService.removeListener(deviceListener);
  linkService.removeListener(linkListener);
  netCfgService.removeListener(cfgListener);
  packetService.removeProcessor(processor);
  topologyService.removeListener(topologyListener);
  // Shutdown the thread when component is deactivated
  executor.shutdown();
  log.info("Stopped");
}
org.onosproject.net.packetPacketServiceremoveProcessor

Popular methods of PacketService

  • addProcessor
  • emit
  • cancelPackets
  • requestPackets
  • getProcessors
  • getRequests

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • getResourceAsStream (ClassLoader)
  • onRequestPermissionsResult (Fragment)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Collectors (java.util.stream)
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now