Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadCommandSystem
Commits
f6b96c33
Commit
f6b96c33
authored
May 03, 2017
by
legoc
Browse files
Removed time for getting the data.
parent
db26acd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/ill/ics/nscclient/dataprovider/ServantManagerAccessor.java
View file @
f6b96c33
...
...
@@ -138,16 +138,10 @@ public class ServantManagerAccessor {
.
setDatabaseID
(
databaseID
)
.
build
();
Date
d1
=
new
Date
();
servantManagerRequester
.
sendTwoParts
(
type
.
toByteArray
(),
request
.
toByteArray
());
try
{
byte
[]
data
=
servantManagerRequester
.
receive
();
Date
d2
=
new
Date
();
System
.
out
.
println
(
"Received and parsed whole configuration "
+
data
.
length
+
" in "
+
(
d2
.
getTime
()
-
d1
.
getTime
())
+
"ms"
);
ServantData
response
=
ServantData
.
parseFrom
(
data
);
ServantData
response
=
ServantData
.
parseFrom
(
servantManagerRequester
.
receive
());
return
response
;
}
...
...
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