Renamed BdfReader methods, added convenience methods.

This commit is contained in:
akwizgran
2016-02-29 13:32:44 +00:00
parent 9dec498e7e
commit 3ce62818aa
8 changed files with 128 additions and 57 deletions

View File

@@ -202,7 +202,7 @@ abstract class Connector extends Thread {
}
protected long receiveTimestamp(BdfReader r) throws IOException {
long timestamp = r.readInteger();
long timestamp = r.readLong();
if (timestamp < 0) throw new FormatException();
if (LOG.isLoggable(INFO)) LOG.info(pluginName + " received timestamp");
return timestamp;