class sun.security.krb5.internal.UDPClient extends sun.security.krb5.internal.NetClient
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.krb5.internal.UDPClient
super_class: sun.security.krb5.internal.NetClient
{
java.net.InetAddress iaddr;
descriptor: Ljava/net/InetAddress;
flags: (0x0000)
int iport;
descriptor: I
flags: (0x0000)
int bufSize;
descriptor: I
flags: (0x0000)
java.net.DatagramSocket dgSocket;
descriptor: Ljava/net/DatagramSocket;
flags: (0x0000)
java.net.DatagramPacket dgPacketIn;
descriptor: Ljava/net/DatagramPacket;
flags: (0x0000)
void <init>(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial sun.security.krb5.internal.NetClient.<init>:()V
1: aload 0
ldc 65507
putfield sun.security.krb5.internal.UDPClient.bufSize:I
2: aload 0
aload 1
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
putfield sun.security.krb5.internal.UDPClient.iaddr:Ljava/net/InetAddress;
3: aload 0
iload 2
putfield sun.security.krb5.internal.UDPClient.iport:I
4: aload 0
new java.net.DatagramSocket
dup
invokespecial java.net.DatagramSocket.<init>:()V
putfield sun.security.krb5.internal.UDPClient.dgSocket:Ljava/net/DatagramSocket;
5: aload 0
getfield sun.security.krb5.internal.UDPClient.dgSocket:Ljava/net/DatagramSocket;
iload 3
invokevirtual java.net.DatagramSocket.setSoTimeout:(I)V
6: aload 0
getfield sun.security.krb5.internal.UDPClient.dgSocket:Ljava/net/DatagramSocket;
aload 0
getfield sun.security.krb5.internal.UDPClient.iaddr:Ljava/net/InetAddress;
aload 0
getfield sun.security.krb5.internal.UDPClient.iport:I
invokevirtual java.net.DatagramSocket.connect:(Ljava/net/InetAddress;I)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/krb5/internal/UDPClient;
0 8 1 hostname Ljava/lang/String;
0 8 2 port I
0 8 3 timeout I
Exceptions:
throws java.net.UnknownHostException, java.net.SocketException
MethodParameters:
Name Flags
hostname
port
timeout
public void send(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: new java.net.DatagramPacket
dup
aload 1
aload 1
arraylength
1: aload 0
getfield sun.security.krb5.internal.UDPClient.iaddr:Ljava/net/InetAddress;
aload 0
getfield sun.security.krb5.internal.UDPClient.iport:I
2: invokespecial java.net.DatagramPacket.<init>:([BILjava/net/InetAddress;I)V
astore 2
start local 2 3: aload 0
getfield sun.security.krb5.internal.UDPClient.dgSocket:Ljava/net/DatagramSocket;
aload 2
invokevirtual java.net.DatagramSocket.send:(Ljava/net/DatagramPacket;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/krb5/internal/UDPClient;
0 5 1 data [B
3 5 2 dgPacketOut Ljava/net/DatagramPacket;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
public byte[] receive();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.security.krb5.internal.UDPClient.bufSize:I
newarray 8
astore 1
start local 1 1: aload 0
new java.net.DatagramPacket
dup
aload 1
aload 1
arraylength
invokespecial java.net.DatagramPacket.<init>:([BI)V
putfield sun.security.krb5.internal.UDPClient.dgPacketIn:Ljava/net/DatagramPacket;
2: aload 0
getfield sun.security.krb5.internal.UDPClient.dgSocket:Ljava/net/DatagramSocket;
aload 0
getfield sun.security.krb5.internal.UDPClient.dgPacketIn:Ljava/net/DatagramPacket;
invokevirtual java.net.DatagramSocket.receive:(Ljava/net/DatagramPacket;)V
3: goto 8
4: StackMap locals: sun.security.krb5.internal.UDPClient byte[]
StackMap stack: java.net.SocketException
astore 2
start local 2 5: aload 2
instanceof java.net.PortUnreachableException
ifeq 7
6: aload 2
athrow
7: StackMap locals: java.net.SocketException
StackMap stack:
aload 0
getfield sun.security.krb5.internal.UDPClient.dgSocket:Ljava/net/DatagramSocket;
aload 0
getfield sun.security.krb5.internal.UDPClient.dgPacketIn:Ljava/net/DatagramPacket;
invokevirtual java.net.DatagramSocket.receive:(Ljava/net/DatagramPacket;)V
end local 2 8: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.krb5.internal.UDPClient.dgPacketIn:Ljava/net/DatagramPacket;
invokevirtual java.net.DatagramPacket.getLength:()I
newarray 8
astore 2
start local 2 9: aload 0
getfield sun.security.krb5.internal.UDPClient.dgPacketIn:Ljava/net/DatagramPacket;
invokevirtual java.net.DatagramPacket.getData:()[B
iconst_0
aload 2
iconst_0
10: aload 0
getfield sun.security.krb5.internal.UDPClient.dgPacketIn:Ljava/net/DatagramPacket;
invokevirtual java.net.DatagramPacket.getLength:()I
11: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/krb5/internal/UDPClient;
1 13 1 ibuf [B
5 8 2 e Ljava/net/SocketException;
9 13 2 data [B
Exception table:
from to target type
2 3 4 Class java.net.SocketException
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.krb5.internal.UDPClient.dgSocket:Ljava/net/DatagramSocket;
invokevirtual java.net.DatagramSocket.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/krb5/internal/UDPClient;
}
SourceFile: "NetClient.java"