public class org.jruby.ext.socket.MulticastStateManager
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.ext.socket.MulticastStateManager
  super_class: java.lang.Object
{
  private java.net.MulticastSocket multicastSocket;
    descriptor: Ljava/net/MulticastSocket;
    flags: (0x0002) ACC_PRIVATE

  private java.util.ArrayList membershipGroups;
    descriptor: Ljava/util/ArrayList;
    flags: (0x0002) ACC_PRIVATE

  public static final int IP_ADD_MEMBERSHIP;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 12

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.jruby.ext.socket.MulticastStateManager this
         0: .line 46
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 47
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield org.jruby.ext.socket.MulticastStateManager.membershipGroups:Ljava/util/ArrayList;
         2: .line 48
            return
        end local 0 // org.jruby.ext.socket.MulticastStateManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/jruby/ext/socket/MulticastStateManager;

  public void addMembership(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.jruby.ext.socket.MulticastStateManager this
        start local 1 // byte[] ipaddr_buf
         0: .line 51
            ldc ""
            astore 2 /* ipString */
        start local 2 // java.lang.String ipString
         1: .line 52
            aload 1 /* ipaddr_buf */
            arraylength
            iconst_4
            if_icmplt 9
         2: .line 53
            new java.lang.StringBuilder
            dup
            aload 2 /* ipString */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* ipaddr_buf */
            iconst_0
            baload
            sipush 255
            iand
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* ipString */
         3: .line 54
            new java.lang.StringBuilder
            dup
            aload 2 /* ipString */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* ipString */
         4: .line 55
            new java.lang.StringBuilder
            dup
            aload 2 /* ipString */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* ipaddr_buf */
            iconst_1
            baload
            sipush 255
            iand
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* ipString */
         5: .line 56
            new java.lang.StringBuilder
            dup
            aload 2 /* ipString */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* ipString */
         6: .line 57
            new java.lang.StringBuilder
            dup
            aload 2 /* ipString */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* ipaddr_buf */
            iconst_2
            baload
            sipush 255
            iand
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* ipString */
         7: .line 58
            new java.lang.StringBuilder
            dup
            aload 2 /* ipString */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* ipString */
         8: .line 59
            new java.lang.StringBuilder
            dup
            aload 2 /* ipString */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* ipaddr_buf */
            iconst_3
            baload
            sipush 255
            iand
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* ipString */
         9: .line 62
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.ext.socket.MulticastStateManager.membershipGroups:Ljava/util/ArrayList;
            aload 2 /* ipString */
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        10: .line 63
            aload 0 /* this */
            invokevirtual org.jruby.ext.socket.MulticastStateManager.updateMemberships:()V
        11: .line 64
            return
        end local 2 // java.lang.String ipString
        end local 1 // byte[] ipaddr_buf
        end local 0 // org.jruby.ext.socket.MulticastStateManager this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   12     0        this  Lorg/jruby/ext/socket/MulticastStateManager;
            0   12     1  ipaddr_buf  [B
            1   12     2    ipString  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
            Name  Flags
      ipaddr_buf  

  public void rebindToPort(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.jruby.ext.socket.MulticastStateManager this
        start local 1 // int port
         0: .line 67
            aload 0 /* this */
            getfield org.jruby.ext.socket.MulticastStateManager.multicastSocket:Ljava/net/MulticastSocket;
            ifnull 2
         1: .line 68
            aload 0 /* this */
            getfield org.jruby.ext.socket.MulticastStateManager.multicastSocket:Ljava/net/MulticastSocket;
            invokevirtual java.net.MulticastSocket.close:()V
         2: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new java.net.MulticastSocket
            dup
            iload 1 /* port */
            invokespecial java.net.MulticastSocket.<init>:(I)V
            putfield org.jruby.ext.socket.MulticastStateManager.multicastSocket:Ljava/net/MulticastSocket;
         3: .line 72
            aload 0 /* this */
            invokevirtual org.jruby.ext.socket.MulticastStateManager.updateMemberships:()V
         4: .line 73
            return
        end local 1 // int port
        end local 0 // org.jruby.ext.socket.MulticastStateManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/jruby/ext/socket/MulticastStateManager;
            0    5     1  port  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      port  

  public java.net.MulticastSocket getMulticastSocket();
    descriptor: ()Ljava/net/MulticastSocket;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.ext.socket.MulticastStateManager this
         0: .line 76
            aload 0 /* this */
            getfield org.jruby.ext.socket.MulticastStateManager.multicastSocket:Ljava/net/MulticastSocket;
            areturn
        end local 0 // org.jruby.ext.socket.MulticastStateManager this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/ext/socket/MulticastStateManager;

  private void updateMemberships();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // org.jruby.ext.socket.MulticastStateManager this
         0: .line 80
            aload 0 /* this */
            getfield org.jruby.ext.socket.MulticastStateManager.multicastSocket:Ljava/net/MulticastSocket;
            ifnonnull 2
         1: .line 81
            return
         2: .line 84
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         3: goto 8
         4: .line 85
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.ext.socket.MulticastStateManager.membershipGroups:Ljava/util/ArrayList;
            iload 1 /* i */
            invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* ipString */
        start local 2 // java.lang.String ipString
         5: .line 86
            aload 2 /* ipString */
            invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
            astore 3 /* group */
        start local 3 // java.net.InetAddress group
         6: .line 87
            aload 0 /* this */
            getfield org.jruby.ext.socket.MulticastStateManager.multicastSocket:Ljava/net/MulticastSocket;
            aload 3 /* group */
            invokevirtual java.net.MulticastSocket.joinGroup:(Ljava/net/InetAddress;)V
        end local 3 // java.net.InetAddress group
        end local 2 // java.lang.String ipString
         7: .line 84
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 1 /* i */
            aload 0 /* this */
            getfield org.jruby.ext.socket.MulticastStateManager.membershipGroups:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            if_icmplt 4
        end local 1 // int i
         9: .line 89
            return
        end local 0 // org.jruby.ext.socket.MulticastStateManager this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Lorg/jruby/ext/socket/MulticastStateManager;
            3    9     1         i  I
            5    7     2  ipString  Ljava/lang/String;
            6    7     3     group  Ljava/net/InetAddress;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "MulticastStateManager.java"