EsotericSoftware / kryonet

TCP/UDP client/server library for Java, based on Kryo
BSD 3-Clause "New" or "Revised" License
1.82k stars 419 forks source link

Listener not being an interface #39

Open ghost opened 10 years ago

ghost commented 10 years ago

From Tom.TSme...@gmail.com on September 09, 2013 11:07:07

is there a reason why the com.esotericsoftware.kryonet.Listener is a class instead of an interface?

It is easier (at least for me) if the listener would be an interface.

Original issue: http://code.google.com/p/kryonet/issues/detail?id=38

ghost commented 9 years ago

Any update here? Would be interesting to know. It is a very bad design for me and maybe a decision not to use kryonet.

NathanSweet commented 9 years ago

It doesn't seem like such a big problem. You can easily write a wrapper or fork it.