Will bukkit be using Netty?

Discussion in 'Bukkit Discussion' started by BleedObsidian, Nov 10, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    BleedObsidian

    In 1.7.2, minecraft now uses Netty for its networking code.
    Does this mean CraftBukkit is going to use Netty or just adapt to support the new Minecraft Protocol?
     
  2. Offline

    fussionzz97

  3. Offline

    DoingItWell

    I don't have any experience with this area of the code, but when I searched CraftBukkit source code for Netty I see the following class instantiation in NetworkManager.java:


    import net.minecraft.util.io.netty.channel.nio.NioEventLoopGroup;

    ...

    publicstaticfinal NioEventLoopGroup f = new NioEventLoopGroup(0, (new ThreadFactoryBuilder()).setNameFormat("Netty Client IO #%d").setDaemon(true).build());

    and code in that file references a lot of Netty objects/methods. So it appears CraftBukkit already tying into it.
     
  4. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Retired Staff

    fussionzz97 Odd choice to bump a months old thread. ;)

    CraftBukkit utilizes netty.
     
    CaptainBern likes this.
  5. Offline

    fussionzz97

    mbaxter Thanks, found the post in a google search and would also like to know :p
     
Thread Status:
Not open for further replies.

Share This Page