Codota Logo
EventBusService.doStop
Code IndexAdd Codota to your IDE (free)

How to use
doStop
method
in
org.eclipse.hono.service.EventBusService

Best Java code snippets using org.eclipse.hono.service.EventBusService.doStop (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: eclipse/hono

/**
 * Unregisters the registration message consumer from the Vert.x event bus and then invokes {@link #doStop(Future)}.
 *
 * @param stopFuture the future to invoke once shutdown is complete.
 */
@Override
public final void stop(final Future<Void> stopFuture) {
  if (requestConsumer != null) {
    requestConsumer.unregister();
    log.info("unregistered Tenant API request consumer from event bus");
  }
  doStop(stopFuture);
}
origin: org.eclipse.hono/hono-service-base

/**
 * Unregisters the registration message consumer from the Vert.x event bus and then invokes {@link #doStop(Future)}.
 *
 * @param stopFuture the future to invoke once shutdown is complete.
 */
@Override
public final void stop(final Future<Void> stopFuture) {
  if (requestConsumer != null) {
    requestConsumer.unregister();
    log.info("unregistered Tenant API request consumer from event bus");
  }
  doStop(stopFuture);
}
org.eclipse.hono.serviceEventBusServicedoStop

Javadoc

Subclasses should override this method to perform any work required before shutting down this service.

This default implementation performs nothing except for completing the Future.

This method is invoked by #stop() as part of the verticle deployment process.

Popular methods of EventBusService

  • doStart
    Subclasses should override this method to perform any work required on start-up of this service. Thi
  • getEventBusAddress
    Gets the event bus address that this service listens on for incoming requests.
  • getRequestPayload
    Gets the payload from a request message. The returned JSON object contains the given payload (if not
  • getTypesafeValueForField
    Gets a property value of a given type from a JSON object.
  • processRequest
    Processes a service invocation request. The response message returned in the future will be sent ove
  • registerConsumer

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • putExtra (Intent)
  • Kernel (java.awt.image)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now