abstract class ScalaVerticle extends AnyRef
Base class for verticle implementations.
- Alphabetic
- By Inheritance
- ScalaVerticle
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ScalaVerticle()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJava(): Verticle
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
config: JsonObject
Get the configuration of the verticle.
Get the configuration of the verticle.
This can be specified when the verticle is deployed.
- returns
the configuration
-
var
ctx: Context
- Attributes
- protected
-
def
deploymentID: String
Get the deployment ID of the verticle deployment
Get the deployment ID of the verticle deployment
- returns
the deployment ID
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
var
executionContext: VertxExecutionContext
- Attributes
- protected
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
init(vertx: Vertx, context: Context, verticle: AbstractVerticle): Unit
Initialise the verticle.
Initialise the verticle.
This is called by Vert.x when the verticle instance is deployed. Don't call it yourself.
- vertx
the deploying Vert.x instance
- context
the context of the verticle
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
processArgs: Buffer[String]
Get the arguments used when deploying the Vert.x process.
Get the arguments used when deploying the Vert.x process.
- returns
the list of arguments
-
def
start(): Unit
Start the verticle.
-
def
startFuture(): Future[_]
Start the verticle.
Start the verticle.
This is called by Vert.x when the verticle instance is deployed. Don't call it yourself.
If your verticle does things in it's startup which take some time then you can override this method and complete the future some time later when start up is complete.
- returns
a future which should be completed when verticle start-up is complete.
-
def
stop(): Unit
Stop the verticle.
-
def
stopFuture(): Future[_]
Stop the verticle.
Stop the verticle.
This is called by Vert.x when the verticle instance is un-deployed. Don't call it yourself.
If your verticle does things in it's shut-down which take some time then you can override this method and complete the future some time later when clean-up is complete.
- returns
a future which should be completed when verticle clean-up is complete.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
var
vertx: Vertx
- Attributes
- protected
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )