CommunicationsFramework - Java (Netty) Socket Communication made easy

Discussion in 'Resources' started by iKeirNez, May 2, 2014.

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

    lenis0012

    I modified it slightly.
    I register a list of channel handlers.
    Which i loop through when sending a packet.
    And when closing i loop through them as well.
     

  2. Okay, let me know how it goes
     
  3. Offline

    lenis0012

    Works smoothly
     
  4. Offline

    axeldu18

    when a multiple connection to a single server?
     
  5. Sorry, don't quite understand what you mean
     
  6. Offline

    axeldu18

    sorry i'm not english xD,

    Will there be an update to be able to connect multiple client on a single server?
     
  7. Yes. I will add that to my top priorities now. It is possible currently, but you have to use different ports.
     
  8. Offline

    axeldu18

    it's cool but i would like use one server !
     
  9. Yeah, it will be added soon, I hope :p
     
    axeldu18 likes this.
  10. I was trying to use my Bungee server as the java instance where I was running the Server part of the framework. When I created the client part in my Bukkit plugin it works just fine, but when I tried to connect a second client to the server the server just used the latest loaded client to send packets to. Am I doing something wrong or doesn't this library support multiple clients on a single server instance?
     
  11. It currently doesn't support multiple server instances, this is something I really want to change soon though. I just need to find the time to do it which is proving difficult right now.
     
  12. Ah, that's too bad. I really hope you find the time soon to add the functionality because it's a great framework so far and I would love to see it handle multiple clients at once. Thanks for all your great work!
     
  13. Offline

    Wingzzz

    Might want to update your links in your post ;) Nice framework :)
     
  14. I won't have any time for the next few weeks (school and other projects), however if others would like to add that functionality and submit it as a PR, that would be awesome!

    Done, thanks!
     
  15. Offline

    The_Coder

    iKeirNez thanks for making this resource!

    I have a few questions on how to use it. Do we just put the api folder into our projects or is there a more complicated installation?

    Thanks again!
    The_Coder
     

  16. Currently you need to clone it and compile it with Maven and then add it as a Maven dependency in your own project. We should have a Maven repo up soon though that will not require you to compile it yourself.
     
  17. Offline

    Wingzzz

    Could always have a compiled version for download that we could stick on our own remote/local repository.
     
  18. Possibly yeah, will try get the Maven repo up asap though.
     
Thread Status:
Not open for further replies.

Share This Page