Cancel the timer with the specified id
.
Cancel the timer with the specified id
. Returns true
if the timer was successfully cancelled, or
false
if the timer does not exist.
Create a new org.vertx.scala.core.datagram.DatagramSocket.
Create a new org.vertx.scala.core.datagram.DatagramSocket.
optional user provided org.vertx.scala.core.datagram.InternetProtocolFamily to use for multicast. If scala.None, it's up to the operation system to detect it's default.
socket the created org.vertx.scala.core.datagram.DatagramSocket.
Return the org.vertx.scala.core.dns.DnsClient
Create a HTTP/HTTPS client.
Create an HTTP/HTTPS server.
Create a TCP/SSL client.
Create a TCP/SSL server.
Create a SockJS server that wraps an HTTP server.
The current context.
The event bus.
The File system object.
Is the current thread an event loop thread?
Is the current thread an event loop thread?
true if current thread is an event loop thread.
Is the current thread an worker thread?
Is the current thread an worker thread?
true if current thread is an worker thread.
Put the handler on the event queue for the current loop (or worker context) so it will be run asynchronously ASAP after this event has been processed.
Set a periodic timer to fire every delay
milliseconds, at which point handler
will be called with
the id of the timer.
Set a periodic timer to fire every delay
milliseconds, at which point handler
will be called with
the id of the timer.
the unique ID of the timer.
Set a one-shot timer to fire after delay
milliseconds, at which point handler
will be called with
the id of the timer.
Set a one-shot timer to fire after delay
milliseconds, at which point handler
will be called with
the id of the timer.
The unique ID of the timer.
The shared data object.
Stop the eventbus and any resource managed by the eventbus.
The control centre of the Vert.x Core API.
You should normally only use a single instance of this class throughout your application. If you are running in the Vert.x container an instance will be provided to you.
If you are using Vert.x embedded, you can create an instance using one of the static core package
newVertx
methods.This class acts as a factory for TCP/SSL and HTTP/HTTPS servers and clients, SockJS servers, and provides an instance of the event bus, file system and shared data classes, as well as methods for setting and cancelling timers.
Instances of this class are thread-safe.