###Java application of message broker pattern.
####Technologies: Java SE 1.8 (Threads, Sockets) + Apache Maven.
####Possible actions:
-
Add topic
-
Post statue to the topic
-
Subscribe to the topic
-
Get all the topics.
Main class - Server.
####Usage:
Create Server class object.
You can connect to it by sockets. Send action (1-4) to it (by byte), than:
-
Send name of the topic
-
Send name of the topic and text of the statue.
-
Send name of the topic and port of your socket (default host is "localhost")
-
Send port of your socket. Then get number of topics and them one by one
At the end send -1 to end the communication.
###Instalstion
Compile in Intellij IDEA by Maven.