Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
grpc_examples
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gabriele Civitarese
grpc_examples
Commits
bcf4ae00
Commit
bcf4ae00
authored
Apr 04, 2019
by
Gabriele Civitarese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Piccole modifiche
parent
5f94437e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Server.java
src/main/java/researcher/Server.java
+2
-2
No files found.
src/main/java/researcher/Server.java
View file @
bcf4ae00
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
();
Researcher
OuterClass
.
Researcher
r
=
ResearcherOuterClass
.
Researcher
.
parseFrom
(
s
.
getInputStream
());
Researcher
r
=
Researcher
.
parseFrom
(
s
.
getInputStream
());
System
.
out
.
println
(
r
);
System
.
out
.
println
(
r
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment