Examples of TagList


Examples of org.jmule.core.edonkey.packet.tag.TagList

      fileChannel.read(data);
      long serverCount = Convert.intToLong(data.getInt(0));
     
      for(long i = 0; i < serverCount; i++) {
               
        TagList tagList = new TagList();
        //Read server IP
        data = Misc.getByteBuffer(4);
        fileChannel.read(data);
       
        String remonteAddress = Convert.IPtoString(data.array());
       
        //Read server port
        data = Misc.getByteBuffer(2);
        fileChannel.read(data);
       
        int remontePort = (Convert.shortToInt(data.getShort(0)));
       
        //Read TagList count
        data = Misc.getByteBuffer(4);
        fileChannel.read(data);
       
        int tagCount = data.getInt(0);
               
        //Load tags....
        for(int j = 0; j<tagCount; j++) {
          Tag tag = TagScanner.scanTag(fileChannel);
          if (tag != null)
            tagList.addTag(tag);
        }
       
        ip_list.add(remonteAddress);
        port_list.add(remontePort);
        tag_list.add(tagList);
View Full Code Here

Examples of tv.porst.swfretools.parser.structures.TagList

      catch (final IllegalArgumentException e) {
        break;
      }
    }

    return new TagParserResult(new TagList(tags), errors);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.