Skip to content

A simple java API for analyzing dead and live nodes in a network using GOSSIP protocol

Notifications You must be signed in to change notification settings

vinayakmp007/Communicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Communicator

A simple java API for analysing dead and live nodes in a network

  • Uses GOSSIP protocol
  • Uses HTTP
  • Uses JSON to transfer information

Sample Code

Element elem = new Element(1234, 8124, 3000);       //creates a element for the communicator
Communicator comm = new Communicator(elem);
comm.start();                                       //starts the communicator
comm.addNode(2000, System.currentTimeMillis(), 8124, "192.168.1.35");  //adds a intial node to the node list of communicator

Build

  1. Clone this repository.
  2. Open terminal and execute ant compile in that directory.
  3. execute ant jar and the jar file will be created.
  4. Add the jar files found in dist directory and its subdirectories(lib) to you project library to use them.

About

A simple java API for analyzing dead and live nodes in a network using GOSSIP protocol

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages