Add possibility to reference a client on serverside witout any callback object
|Category:||Core||Estimated time:||24.00 h|
To be able to open rawchannels or do other stuff related to a specific client without using a client-callback-object, add a helper-method that returns a object which references a specific client-connection.
The implementation coud look like this:
Every time a remote method call is handled on server side, SIMON puts a reference of current executing thread plus a reference to the session in a map. After the method execution, this information is cleaned up again.
A SIMON helper method, called by the serverimplementation, could the query the map for the session for the current thread. The return-value of this helper method could be either be a simple pojo with almost no public methods (it's just to have a reference to a client), or it could provide some helper-methods like "kick client" or "get client statistics".