With #97, I want to use the same MessageBoard object for different access protocols. This requires new provisions for thread safety. Up until now, the sockets server was single-threaded, and the Java RMI server synchronized in the remote objects.
Implement a synchronization wrapper, similar to Collections.synchronizedList()?
With #97, I want to use the same MessageBoard object for different access protocols. This requires new provisions for thread safety. Up until now, the sockets server was single-threaded, and the Java RMI server synchronized in the remote objects.
Implement a synchronization wrapper, similar to Collections.synchronizedList()?