Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  SimpleNet - lightweight Java network library  (Read 3300 times)
0 Members and 1 Guest are viewing this topic.
Offline beni

Senior Newbie





« Posted 2009-07-31 06:44:50 »

Hi, i wanted to drop a note that i just released 0.3 of my java network lib SimpleNet.

It was born while i played with darkstar and googles protobuf and emerged out of the need to have a simple but fast message dispatching functionality. The critical point was, that the messages id should be maintained mostly automatically, leaving the dev (me) just the task to design the messages. However, fiddling around with protobufs extensions was no fun and using the enum feature was too unflexible in my opinion.
This was the reason i wrote my own lib.

It mostly deals with managing the "get ByteBuffer, decode and handle" thing, which is achieved by MessageHandlers that do the real work. Each MessageHandler is responsible for handling one specific message type. There is also a HeaderHandler which deals with message type id-recognition (the basis for the PacketManager to be able to dispatch the incoming messages to the appropriate MessageHandler), but can do several other tasks too (eg. encryption, compressing, whatever you like). Currently there is one default implementation for the HeaderHandler available, but he is rather basic (however should satisfy the most cases already). I have plans to add a plugin interface, so arbitary plugins can be added so extending the header will be an easy task.

I would be glad if you would download and test it, so you can give me tips/bug reports/patches/whatever you like (maybe you will write a review?), while i hope that this lib is useful to some of you.
Also, i hope that the population of the doc/ directory pais off so you get a fast grip.

The project is hosted at Sourceforge: http://sourceforge.net/projects/simplenet/ (project home: http://simplenet.sourceforge.net/)
Its sourcecode is available at the SF webSVN: http://simplenet.svn.sourceforge.net/viewvc/simplenet/
The APIdoc as well as examples and descriptions is part of the distribution file; however most of the docs can be viewed in svn.
The current initial release license is AGPL, but upcoming releases will be put under the LGPL (svn code already is).

Greetings, Beni
Offline beni

Senior Newbie





« Reply #1 - Posted 2009-08-03 09:31:22 »

Just wanted to inform you, that i recently released 0.4 of the lib.

It features some improvements on the wrappedMessage feature, that is now implemented as an interface. Also the package was restructured a bit (merged the "protobuf" package into the "implementations" one).

Again, it would be nice, you could give me some feedback.

Thanks!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (32 views)
2014-12-15 09:26:44

Mr.CodeIt (23 views)
2014-12-14 19:50:38

BurntPizza (50 views)
2014-12-09 22:41:13

BurntPizza (84 views)
2014-12-08 04:46:31

JscottyBieshaar (45 views)
2014-12-05 12:39:02

SHC (59 views)
2014-12-03 16:27:13

CopyableCougar4 (58 views)
2014-11-29 21:32:03

toopeicgaming1999 (123 views)
2014-11-26 15:22:04

toopeicgaming1999 (114 views)
2014-11-26 15:20:36

toopeicgaming1999 (32 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!