Mike Kienenberger wrote:
<snip>
> If it's a web-based game, you can tie the DataContext to the session.
> If it's a TCP/IP game, you'll probably have a separate thread for each
> player, and you can tie the context to the thread.
</snip>
Unless you're using keys and selectors from the nio package, in which
case, you can bind the DataContext to the player's key, or
you can define a state object for the player which also includes a
datacontext, and bind that to the key.
Robert
This archive was generated by hypermail 2.0.0 : Fri Dec 17 2004 - 12:49:24 EST