Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r3908 - trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription

Subject: perfsonar development work

List archive

perfsonar: r3908 - trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r3908 - trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription
  • Date: Thu, 29 May 2008 08:14:49 -0400

Author: michael.bischoff
Date: 2008-05-29 08:14:49 -0400 (Thu, 29 May 2008)
New Revision: 3908

Modified:

trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription/NfReplayControll.java
Log:
skip is not always supported implemented our own.

Modified:
trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription/NfReplayControll.java
===================================================================
---
trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription/NfReplayControll.java
2008-05-29 12:02:44 UTC (rev 3907)
+++
trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription/NfReplayControll.java
2008-05-29 12:14:49 UTC (rev 3908)
@@ -79,8 +79,9 @@
private void flushNfcapd(BufferedInputStream stream) {
try {
int available = stream.available();
- long skipped = stream.skip(available);
- if(skipped<available) return;
+ for(int i = 0;i<available;i++) {
+ stream.read();
+ }
} catch (IOException e) {
e.printStackTrace();
}



  • perfsonar: r3908 - trunk/surfnet_java-flowsubscription-mp/src/main/java/org/perfsonar/service/measurementPoint/flowsubscription, svnlog, 05/29/2008

Archive powered by MHonArc 2.6.16.

Top of Page