Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi distribuiti > Dubbio su "searchFile" e "stop RMI registry"
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Gatz
.amico.

User info:
Registered: Oct 2005
Posts: 37 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 13:00:37 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Question Dubbio su "searchFile" e "stop RMI registry"

Ciao a tutti ho un dubbio...

Premessa:
Supponiamo di considerare i Peer: test1, test2, test3.
Avviamo "test1", poi avviamo "test2".
Supponiamo che l'algoritmo di bully stabilisca che sia "test2" il "Coordinatore".
"Test2" avvierà il suo RMI registry e avviserà "test1" che a questo punto avrà accesso all'oggeto FileList (e ai metodi a esso associati).

Ecco il dubbio: :wall:
Se "test1" sta eseguendo "searchFile" e, MENTRE l'utente sta scegliendo il file da scaricare o da chi scaricarlo, viene avviato test3 (che riavvia l'elezione) come si può fare in modo di bloccare l'escuzione di "searchFile" avviata da "test1"?

E ancora...
come fa "test2", alla fine dell'elezione (non essendo più il "Coordinatore"), a (cito il testo del progetto) revocare la condivisione dell'oggetto remoto "FileList" ?
esiste forse un modo per FERMARE l'RMI registry e se sì come ?

Grazie a TUTTE le persone che mi risponderanno :pc:

Ciao :ciao:

12-08-2006 00:43
Click Here to See the Profile for Gatz Click here to Send Gatz a Private Message Find more posts by Gatz Add Gatz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
GinoPilotino
.grande:maestro.

User info:
Registered: Dec 2002
Posts: 1403 (0.17 al dì)
Location: Segrate
Corso: TI.COM
Anno: Secondo
Time Online: 13 Days, 8:59:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io ho usato l'unbind.

__________________
In ano balenae Gino.

13-08-2006 20:37
Click Here to See the Profile for GinoPilotino Click Here to See the Blog of GinoPilotino Click here to Send GinoPilotino a Private Message Find more posts by GinoPilotino Add GinoPilotino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gatz
.amico.

User info:
Registered: Oct 2005
Posts: 37 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 13:00:37 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Quindi, se ho capito bene, hai usato l'unbind per revocare la condivisione giusto ? :?

14-08-2006 11:18
Click Here to See the Profile for Gatz Click here to Send Gatz a Private Message Find more posts by Gatz Add Gatz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
GinoPilotino
.grande:maestro.

User info:
Registered: Dec 2002
Posts: 1403 (0.17 al dì)
Location: Segrate
Corso: TI.COM
Anno: Secondo
Time Online: 13 Days, 8:59:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si. almeno, io ho fatto così. non so se ci sono idee più corrette.

__________________
In ano balenae Gino.

14-08-2006 22:39
Click Here to See the Profile for GinoPilotino Click Here to See the Blog of GinoPilotino Click here to Send GinoPilotino a Private Message Find more posts by GinoPilotino Add GinoPilotino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gatz
.amico.

User info:
Registered: Oct 2005
Posts: 37 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 13:00:37 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Scusa se ti disturbo ancora...

Ma subito dopo aver fatto l'unbind, non fai eseguire al Peer una cancellazione della struttura dati che contiene gli ID dei Peer connessi e l'elenco dei file condivisi ?

15-08-2006 16:59
Click Here to See the Profile for Gatz Click here to Send Gatz a Private Message Find more posts by Gatz Add Gatz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
GinoPilotino
.grande:maestro.

User info:
Registered: Dec 2002
Posts: 1403 (0.17 al dì)
Location: Segrate
Corso: TI.COM
Anno: Secondo
Time Online: 13 Days, 8:59:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

no.
se sono coordinatore e devo uscire eseguo l'unbind e chiudo altrimenti dopo l'unbind cerco la struttura dati sulla porta rmi del nuovo coordinatore.

__________________
In ano balenae Gino.

16-08-2006 17:30
Click Here to See the Profile for GinoPilotino Click Here to See the Blog of GinoPilotino Click here to Send GinoPilotino a Private Message Find more posts by GinoPilotino Add GinoPilotino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 02:58.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.046 seconds (65.54% PHP - 34.46% MySQL) con 22 query.