Originally posted by Mark Spritzler:
Well the Data class itself has Synchonized in them, but it won't have any effect to one user.
Mark
How come this same Data class synchronised methods will be used both for local and network connection? there's no point in having synchronised methods in local mode. right?
I feel that local mode also has to be thread-safe, bcos Data class has synchronised methods.
So in my design, i made sure that irrespective of method of connection, the locking mechanism is
thread safe.
Is this fine, and how do i document my views in design.txt?
thanks,
sri