public class ch.qos.logback.core.net.DefaultSocketConnector implements ch.qos.logback.core.net.SocketConnector
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: ch.qos.logback.core.net.DefaultSocketConnector
super_class: java.lang.Object
{
private final java.net.InetAddress address;
descriptor: Ljava/net/InetAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int port;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final ch.qos.logback.core.util.DelayStrategy delayStrategy;
descriptor: Lch/qos/logback/core/util/DelayStrategy;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private ch.qos.logback.core.net.SocketConnector$ExceptionHandler exceptionHandler;
descriptor: Lch/qos/logback/core/net/SocketConnector$ExceptionHandler;
flags: (0x0002) ACC_PRIVATE
private javax.net.SocketFactory socketFactory;
descriptor: Ljavax/net/SocketFactory;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.net.InetAddress, int, long, long);
descriptor: (Ljava/net/InetAddress;IJJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
aload 1
iload 2
new ch.qos.logback.core.util.FixedDelay
dup
lload 3
lload 5
invokespecial ch.qos.logback.core.util.FixedDelay.<init>:(JJ)V
invokespecial ch.qos.logback.core.net.DefaultSocketConnector.<init>:(Ljava/net/InetAddress;ILch/qos/logback/core/util/DelayStrategy;)V
1: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/net/DefaultSocketConnector;
0 2 1 address Ljava/net/InetAddress;
0 2 2 port I
0 2 3 initialDelay J
0 2 5 retryDelay J
MethodParameters:
Name Flags
address
port
initialDelay
retryDelay
public void <init>(java.net.InetAddress, int, ch.qos.logback.core.util.DelayStrategy);
descriptor: (Ljava/net/InetAddress;ILch/qos/logback/core/util/DelayStrategy;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield ch.qos.logback.core.net.DefaultSocketConnector.address:Ljava/net/InetAddress;
2: aload 0
iload 2
putfield ch.qos.logback.core.net.DefaultSocketConnector.port:I
3: aload 0
aload 3
putfield ch.qos.logback.core.net.DefaultSocketConnector.delayStrategy:Lch/qos/logback/core/util/DelayStrategy;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lch/qos/logback/core/net/DefaultSocketConnector;
0 5 1 address Ljava/net/InetAddress;
0 5 2 port I
0 5 3 delayStrategy Lch/qos/logback/core/util/DelayStrategy;
MethodParameters:
Name Flags
address
port
delayStrategy
public java.net.Socket call();
descriptor: ()Ljava/net/Socket;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual ch.qos.logback.core.net.DefaultSocketConnector.useDefaultsForMissingFields:()V
1: aload 0
invokevirtual ch.qos.logback.core.net.DefaultSocketConnector.createSocket:()Ljava/net/Socket;
astore 1
start local 1 2: goto 5
3: StackMap locals: java.net.Socket
StackMap stack:
aload 0
getfield ch.qos.logback.core.net.DefaultSocketConnector.delayStrategy:Lch/qos/logback/core/util/DelayStrategy;
invokeinterface ch.qos.logback.core.util.DelayStrategy.nextDelay:()J
invokestatic java.lang.Thread.sleep:(J)V
4: aload 0
invokevirtual ch.qos.logback.core.net.DefaultSocketConnector.createSocket:()Ljava/net/Socket;
astore 1
5: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.isInterrupted:()Z
ifeq 3
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lch/qos/logback/core/net/DefaultSocketConnector;
2 7 1 socket Ljava/net/Socket;
Exceptions:
throws java.lang.InterruptedException
private java.net.Socket createSocket();
descriptor: ()Ljava/net/Socket;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield ch.qos.logback.core.net.DefaultSocketConnector.socketFactory:Ljavax/net/SocketFactory;
aload 0
getfield ch.qos.logback.core.net.DefaultSocketConnector.address:Ljava/net/InetAddress;
aload 0
getfield ch.qos.logback.core.net.DefaultSocketConnector.port:I
invokevirtual javax.net.SocketFactory.createSocket:(Ljava/net/InetAddress;I)Ljava/net/Socket;
astore 1
2: goto 5
StackMap locals: ch.qos.logback.core.net.DefaultSocketConnector java.net.Socket
StackMap stack: java.io.IOException
3: astore 2
start local 2 4: aload 0
getfield ch.qos.logback.core.net.DefaultSocketConnector.exceptionHandler:Lch/qos/logback/core/net/SocketConnector$ExceptionHandler;
aload 0
aload 2
invokeinterface ch.qos.logback.core.net.SocketConnector$ExceptionHandler.connectionFailed:(Lch/qos/logback/core/net/SocketConnector;Ljava/lang/Exception;)V
end local 2 5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lch/qos/logback/core/net/DefaultSocketConnector;
1 6 1 newSocket Ljava/net/Socket;
4 5 2 ioex Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
private void useDefaultsForMissingFields();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield ch.qos.logback.core.net.DefaultSocketConnector.exceptionHandler:Lch/qos/logback/core/net/SocketConnector$ExceptionHandler;
ifnonnull 2
1: aload 0
new ch.qos.logback.core.net.DefaultSocketConnector$ConsoleExceptionHandler
dup
invokespecial ch.qos.logback.core.net.DefaultSocketConnector$ConsoleExceptionHandler.<init>:()V
putfield ch.qos.logback.core.net.DefaultSocketConnector.exceptionHandler:Lch/qos/logback/core/net/SocketConnector$ExceptionHandler;
2: StackMap locals:
StackMap stack:
aload 0
getfield ch.qos.logback.core.net.DefaultSocketConnector.socketFactory:Ljavax/net/SocketFactory;
ifnonnull 4
3: aload 0
invokestatic javax.net.SocketFactory.getDefault:()Ljavax/net/SocketFactory;
putfield ch.qos.logback.core.net.DefaultSocketConnector.socketFactory:Ljavax/net/SocketFactory;
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lch/qos/logback/core/net/DefaultSocketConnector;
public void setExceptionHandler(ch.qos.logback.core.net.SocketConnector$ExceptionHandler);
descriptor: (Lch/qos/logback/core/net/SocketConnector$ExceptionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield ch.qos.logback.core.net.DefaultSocketConnector.exceptionHandler:Lch/qos/logback/core/net/SocketConnector$ExceptionHandler;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/net/DefaultSocketConnector;
0 2 1 exceptionHandler Lch/qos/logback/core/net/SocketConnector$ExceptionHandler;
MethodParameters:
Name Flags
exceptionHandler
public void setSocketFactory(javax.net.SocketFactory);
descriptor: (Ljavax/net/SocketFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield ch.qos.logback.core.net.DefaultSocketConnector.socketFactory:Ljavax/net/SocketFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lch/qos/logback/core/net/DefaultSocketConnector;
0 2 1 socketFactory Ljavax/net/SocketFactory;
MethodParameters:
Name Flags
socketFactory
public java.lang.Object call();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual ch.qos.logback.core.net.DefaultSocketConnector.call:()Ljava/net/Socket;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
SourceFile: "DefaultSocketConnector.java"
NestMembers:
ch.qos.logback.core.net.DefaultSocketConnector$ConsoleExceptionHandler
InnerClasses:
private ConsoleExceptionHandler = ch.qos.logback.core.net.DefaultSocketConnector$ConsoleExceptionHandler of ch.qos.logback.core.net.DefaultSocketConnector
public abstract ExceptionHandler = ch.qos.logback.core.net.SocketConnector$ExceptionHandler of ch.qos.logback.core.net.SocketConnector