8 Commits

Author SHA1 Message Date
PSp..om
e84d8300dd Modified Client/Server to support alternate channels. The
server can configure additional ports that will be sent to
the client upon connection.  These channels can be used to
send messages in parallel to the normal messages.  This is
useful to keeping several separate command pathways flowing
smoothly despite potentially large messages on one channel.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8938 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-16 10:28:50 +00:00
PSp..om
48db901b5b Added a method for easily determining if there are active
connections.
Early-return in the broadcast method if there are no connections.
This prevents allocation of a message if it's just going to get
dropped on the floor anyway.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8932 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-16 00:31:40 +00:00
PSp..om
50465e37b3 Fixed a getConnection() bug caused by a silent autoboxing
issue left over from when the long -> int client ID 
conversion was made.  Now connection lookups work again.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7152 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-01 21:23:48 +00:00
PSp..om
b1e52b865a Added some comments about the multi-threaded nature
of message event dispatch.  This is one of the reasons
I thought the existing services need to be checked for
'correctness' re: multithreading.  Even in the current
implementations, a message listener may be called by
different threads.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7046 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 21:21:06 +00:00
PSp..om
dda3e4c2a0 Real fix for the client UDP problems and removed my long
winded and erroneous comment now that we have point-to-point
connections again.
Also committing the other classes to which I started adding
game name and version... unfinished but needed for the other
fix.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7038 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 06:47:46 +00:00
PSp..om
8fc15d2ecf Basic useful filter implementations.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7031 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 03:00:06 +00:00
PSp..om
c21ae83fc1 Basic connection filtering support. Standard filter implementations
to come next.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7029 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 02:22:26 +00:00
PSp..om
c551a29022 Still a work in progress. The new API and base implementations
of the new interfaces.  Still exists entirely in parallel with
the old code.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-17 17:57:07 +00:00