Exemplo n.º 1
0
 void merge(Settings paramSettings) {
   int i = 0;
   if (i < 10) {
     if (!paramSettings.isSet(i)) {}
     for (; ; ) {
       i += 1;
       break;
       set(i, paramSettings.flags(i), paramSettings.get(i));
     }
   }
 }
Exemplo n.º 2
0
 @Override
 public synchronized void settings(Settings settings) throws IOException {
   int type = TYPE_SETTINGS;
   int length = settings.size() * 8;
   int flags = 0;
   int streamId = 0;
   out.writeInt((length & 0xffff) << 16 | (type & 0xff) << 8 | (flags & 0xff));
   out.writeInt(streamId & 0x7fffffff);
   for (int i = 0; i < Settings.COUNT; i++) {
     if (!settings.isSet(i)) continue;
     out.writeInt(i & 0xffffff);
     out.writeInt(settings.get(i));
   }
 }
Exemplo n.º 3
0
 public void settings(Settings paramSettings)
 {
   for (;;)
   {
     int i;
     int j;
     try
     {
       if (this.closed) {
         throw new IOException("closed");
       }
       frameHeader(0, paramSettings.size() * 6, (byte)4, (byte)0);
       i = 0;
       if (i < 10)
       {
         if (!paramSettings.isSet(i))
         {
           break label127;
           this.sink.ɔ(j);
           this.sink.ǀ(paramSettings.get(i));
         }
       }
       else
       {
         this.sink.flush();
         return;
       }
     }
     finally {}
     int k = i;
     if (k == 4)
     {
       j = 3;
     }
     else
     {
       j = k;
       if (k == 7)
       {
         j = 4;
         continue;
         label127:
         i += 1;
       }
     }
   }
 }