io.vertx.core

## Class VoidHandler

- java.lang.Object
- - io.vertx.core.VoidHandler

- All Implemented Interfaces:
    Handler<Void>

      public abstract class VoidHandler
      extends Object
      implements Handler<Void>

  This class can be used for simple handlers which don't receive any value.
  Author:
    Tim Fox

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VoidHandler()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | `handle()` Handle the event.
    `void` | `handle(Void event)` Something has happened, so handle it.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### VoidHandler

          public VoidHandler()

  - ### Method Detail

    - #### handle

          public final void handle(Void event)

      Description copied from interface: `Handler`
      Something has happened, so handle it.
      Specified by:
        `handle` in interface `Handler<Void>`
      Parameters:
        `event` - the event to handle

    - #### handle

          protected abstract void handle()

      Handle the event. It should be overridden by the user.

Copyright © 2015. All Rights Reserved.