Debate app using java sockets for token passing and pub sub (rabbitmq) for message transmission and reception.Each peer has a timeout(30 seconds) to transmit messages on topics that he can "publish" to and also he is "subscriber" on same topics and he can receive messages related to topics he is subscribed to. Debaters are arranged in a circle and each debater can publish only if he's having token. Token is passed among the debaters.If an debater is publishing an message, token is passed to neighbor debater. Last debater is passing to the first debater (cyclic structure).Also token is passed if 30 seconds were passed and debater with token wasn't transmitted any message.
-
Notifications
You must be signed in to change notification settings - Fork 0
Debate app using java sockets for token passing and pub sub (rabbitmq) for message transmission and reception
License
alexprodan99/debate_app
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Debate app using java sockets for token passing and pub sub (rabbitmq) for message transmission and reception
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published