Commit bcf4ae00 authored by Gabriele Civitarese's avatar Gabriele Civitarese

Piccole modifiche

parent 5f94437e
package researcher; package researcher;
import it.ewlab.researcher.ResearcherOuterClass; import it.ewlab.researcher.ResearcherOuterClass.Researcher;
import java.io.IOException; import java.io.IOException;
import java.net.ServerSocket; import java.net.ServerSocket;
...@@ -15,7 +15,7 @@ public class Server { ...@@ -15,7 +15,7 @@ public class Server {
Socket s = serverSocket.accept(); Socket s = serverSocket.accept();
ResearcherOuterClass.Researcher r = ResearcherOuterClass.Researcher.parseFrom(s.getInputStream()); Researcher r = Researcher.parseFrom(s.getInputStream());
System.out.println(r); System.out.println(r);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment