Giter Site home page Giter Site logo

content-addressable-network's Introduction

Author: Vishal Manghnani
1. Files
   Server files: Bootstrap.java,BInterface.java,
   Client/Peer files: Node.java, NodeInterface.java,Peer.java,Zone.java, Point.java

2. Functionalities
	a. Insert:  Inserts a file in the CAN network after routing to appropriate Peer. Displays the peer name and Routing details if file successfully inserted
		    else displays Failure. Files are stored in the local directory where the project runs.
	b. Search:  Searches the file in the CAN Network after routing to Peer where file is stored. Displays the peer name and Routing details if file successfully 
		    found else displays Failure
	c. View:    Display current Peers information like Identifier, Ipaddress, Zone, Neighbours and Files Stored
	d. Join:    Joins the peer in the network. If join successful then displays the success message else displays Failure
	e. Leave:   Leaves the network by handing over all the resources to one of the neighbouring peer. 

3. Steps to run
	Server: 
	a. Assuming glados machine used to run the Server files. If different machine used please update the Ipaddress in Peer.java file.
	b. Start rmiregistry using command "rmiregistry 2001 &"  on server machine
	c. Compile Bootstrap.java and BInterface.java files.
	d. Create stub and skeleton using command "rmic Bootstrap"
	e. Start the server using command "java Bootstrap &"

	Client/Peer machines:
	a. Compile all the client files on all the peers.
	b. Create stub and skeleton using command "rmic Node"
	c. Start the client using command "java Peer"


		
		

content-addressable-network's People

Stargazers

 avatar sookwang lee avatar

Watchers

James Cloos avatar Vishal Manghnani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.