/IPC

Primary LanguageJava

IPC

Start Server first, and then get Consumme Produt in Non Blocking and Blocking mode at clients; Non Blocking use oneway in method ; Blocking without oneway keyword; the producer produces product and add to the internal queue, with capacity is 5; Produce method and consume method use the synchronized to ensure thread safe;