Feature #99

Add possibility to reference a client on serverside witout any callback object

Added by achristian about 7 years ago. Updated about 5 years ago.

Status:NewStart date:07/05/2011
Priority:NormalDue date:
Assignee:achristian% Done:

0%

Category:CoreEstimated time:24.00 h
Target version:ToBePlanned

Description

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".

History

#1 Updated by achristian about 5 years ago

  • Target version changed from 1.2.0 to ToBePlanned

Since simple file transfer feature is "done", there might not be THE need for this feature for 1.2.0. So moved to "ToBePlanned".

Also available in: Atom PDF