Need to redesign server-side and client communication. Implement using blocking queue (server thread filling, client thread emptying; see http://www.journaldev.com/1034/java-blockingqueue-example-implementing-producer-consumer-problem for reference). Consider deleting observer interface and related objects.
Need to redesign server-side and client communication. Implement using blocking queue (server thread filling, client thread emptying; see http://www.journaldev.com/1034/java-blockingqueue-example-implementing-producer-consumer-problem for reference). Consider deleting observer interface and related objects.