Code Monkey home page Code Monkey logo

jochat's Introduction

JoChat 💻 💬 (University of Bologna, IT)

JoChat è un sistema di messaggistica istantanea ad architettura Peer-2-Peer di tipo decentralizzata ibrida. I nodi, che fanno parte della rete, riescono a comunicare tra loro grazie alle informazioni comunicate dal Server al loro lato Server (nodo_service.ol).

Creazione e installazione di 'lib.jar' nella cartella Java Services di Jolie

1. Aprire un terminale nella cartella 'lib' presente in LabSO_JoChat-master e scrivere questo comando per creare il file.jar della cartella contenente Privata.class:

<< jar cvf lib.jar lib/Privata.class >>

2. Successivamente, spostare il file jar 'lib.jar' dalla cartella 'lib', presente in LabSO_JoChat-master, all'interno della cartella Java Services di Jolie, in modo tale che Jolie possa riconoscere Privata.class come un servizio Java che può essere utilizzato in Jolie.

Comandi per l'utilizzo

1. Aprire un terminale e posizionarsi all’interno della cartella LabSO_JoChat-master e avviare il server tramite il comando:

<< jolie server.ol >>

2. Aprire un altro terminale nella stessa cartella e avviare il monitor con il comando:

<< jolie monitor.ol >>

3. Aprire un altro terminale nella stessa cartella e avviare un nodo tramite il comando:

<< jolie nodo.ol <nomeNodo> <numeroPorta> >>

Ad esempio:

jolie nodo.ol MarcoRossi 9010

(Per creare N nodi, aprire N terminali e ripetere N volte il comando sopraccitato.)

Autori:

Jason Shuyinta

Keran Jegasothy

Tulak Mozammel

Hajar Berdouzi

Giovanni Vitale

jochat's People

Contributors

jasonshuyinta avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.