History

TimeSeriesJavaLibrary: Fixed the order in which header fields are parsed for a synchronized subscription.

StephenCWills committed 10 years ago

Commit a6d43de1 parent f7cfcd31 file · +3 −3Browse files

Showing the changes to Source/Libraries/TimeSeriesJavaLibrary (1 of 1 file). Show all

Unified · Split

Source/Libraries/TimeSeriesJavaLibrary/src/org/gpa/gsf/timeseries/transport/DataSubscriber.java+3−3
@@ -895,15 +895,15 @@ public class DataSubscriber · 894 unmodified lines
895 compactFlag = (dataPacketFlags & DataPacketFlags.Compact) != 0;895 compactFlag = (dataPacketFlags & DataPacketFlags.Compact) != 0;
896 syncFlag = (dataPacketFlags & DataPacketFlags.Synchronized) != 0;896 syncFlag = (dataPacketFlags & DataPacketFlags.Synchronized) != 0;
897 897
898 // Gather statistics
899 m_totalMeasurementsReceived += buffer.getInt();
900
901 if (syncFlag)898 if (syncFlag)
902 {899 {
903 frameLevelTimestamp = buffer.getLong();900 frameLevelTimestamp = buffer.getLong();
904 includeTime = false;901 includeTime = false;
905 }902 }
906 903
904 // Gather statistics
905 m_totalMeasurementsReceived += buffer.getInt();
906
907 if (compactFlag)907 if (compactFlag)
908 {908 {
909 // If signal index cache is null, we909 // If signal index cache is null, we

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t