Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LabComm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Blomdell
LabComm
Commits
b0bdfac4
Commit
b0bdfac4
authored
11 years ago
by
Sven Gestegård Robertz
Browse files
Options
Downloads
Patches
Plain Diff
updated OneShotServer
parent
825efef0
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/tcp/labcommTCPtest/server/OneShotServer.java
+2
-0
2 additions, 0 deletions
examples/tcp/labcommTCPtest/server/OneShotServer.java
with
2 additions
and
0 deletions
examples/tcp/labcommTCPtest/server/OneShotServer.java
+
2
−
0
View file @
b0bdfac4
...
...
@@ -24,8 +24,10 @@ public class OneShotServer {//implements Handler {
LabCommEncoderChannel
e
=
new
LabCommEncoderChannel
(
out
);
FooSample
.
register
(
e
);
FooSample
sample
=
new
FooSample
();
sample
.
s
=
"OneShotServer message"
;
sample
.
x
=
17
;
sample
.
y
=
42
;
sample
.
a
=
new
int
[]{
10
,
11
,
12
};
sample
.
t
=
1717
;
sample
.
d
=
0.42
;
printSample
(
"Server sending"
,
sample
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment