public class io.vertx.ext.mail.MailServiceVerticle extends io.vertx.core.AbstractVerticle
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.mail.MailServiceVerticle
super_class: io.vertx.core.AbstractVerticle
{
private io.vertx.ext.mail.MailService service;
descriptor: Lio/vertx/ext/mail/MailService;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // io.vertx.ext.mail.MailServiceVerticle this
0: .line 35
aload 0 /* this */
invokespecial io.vertx.core.AbstractVerticle.<init>:()V
return
end local 0 // io.vertx.ext.mail.MailServiceVerticle this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/mail/MailServiceVerticle;
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 // io.vertx.ext.mail.MailServiceVerticle this
0: .line 42
aload 0 /* this */
new io.vertx.ext.mail.impl.MailServiceImpl
dup
aload 0 /* this */
getfield io.vertx.ext.mail.MailServiceVerticle.vertx:Lio/vertx/core/Vertx;
new io.vertx.ext.mail.MailConfig
dup
aload 0 /* this */
invokevirtual io.vertx.ext.mail.MailServiceVerticle.config:()Lio/vertx/core/json/JsonObject;
invokespecial io.vertx.ext.mail.MailConfig.<init>:(Lio/vertx/core/json/JsonObject;)V
invokestatic io.vertx.ext.mail.MailClient.createNonShared:(Lio/vertx/core/Vertx;Lio/vertx/ext/mail/MailConfig;)Lio/vertx/ext/mail/MailClient;
invokespecial io.vertx.ext.mail.impl.MailServiceImpl.<init>:(Lio/vertx/ext/mail/MailClient;)V
putfield io.vertx.ext.mail.MailServiceVerticle.service:Lio/vertx/ext/mail/MailService;
1: .line 45
aload 0 /* this */
invokevirtual io.vertx.ext.mail.MailServiceVerticle.config:()Lio/vertx/core/json/JsonObject;
ldc "address"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 1 /* address */
start local 1 // java.lang.String address
2: .line 46
aload 1 /* address */
ifnonnull 4
3: .line 47
new java.lang.IllegalStateException
dup
ldc "address field must be specified in config for client verticle"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: .line 49
StackMap locals: java.lang.String
StackMap stack:
ldc Lio/vertx/ext/mail/MailService;
aload 0 /* this */
getfield io.vertx.ext.mail.MailServiceVerticle.vertx:Lio/vertx/core/Vertx;
aload 0 /* this */
getfield io.vertx.ext.mail.MailServiceVerticle.service:Lio/vertx/ext/mail/MailService;
aload 1 /* address */
invokestatic io.vertx.serviceproxy.ProxyHelper.registerService:(Ljava/lang/Class;Lio/vertx/core/Vertx;Ljava/lang/Object;Ljava/lang/String;)Lio/vertx/core/eventbus/MessageConsumer;
pop
5: .line 51
return
end local 1 // java.lang.String address
end local 0 // io.vertx.ext.mail.MailServiceVerticle this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/mail/MailServiceVerticle;
2 6 1 address Ljava/lang/String;
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // io.vertx.ext.mail.MailServiceVerticle this
0: .line 55
aload 0 /* this */
getfield io.vertx.ext.mail.MailServiceVerticle.service:Lio/vertx/ext/mail/MailService;
ifnull 2
1: .line 56
aload 0 /* this */
getfield io.vertx.ext.mail.MailServiceVerticle.service:Lio/vertx/ext/mail/MailService;
invokeinterface io.vertx.ext.mail.MailService.close:()V
2: .line 58
StackMap locals:
StackMap stack:
return
end local 0 // io.vertx.ext.mail.MailServiceVerticle this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/mail/MailServiceVerticle;
}
SourceFile: "MailServiceVerticle.java"