SSF.OS.NetFlow.Util
Class IpFlowWDReporter

java.lang.Object
  |
  +--SSF.Util.Streams.BasicPlayer
        |
        +--SSF.OS.NetFlow.Util.IpFlowWDReporter
All Implemented Interfaces:
StreamInterface

public class IpFlowWDReporter
extends BasicPlayer

This class reads the binary netflow data from a file and print it out


Constructor Summary
IpFlowWDReporter(java.lang.String streamID)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 int receive(int tid, int sid, double time, byte[] buf, int offset, int length)
          Grab an IpFlowCollector record and print it on screen
 
Methods inherited from class SSF.Util.Streams.BasicPlayer
connectRead, connectWrite, disconnect, getRecordCount, getRecordSourceCode, getRecordSourceString, getRecordTypeCode, getRecordTypeString, isConnected, send, send
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IpFlowWDReporter

public IpFlowWDReporter(java.lang.String streamID)
Method Detail

receive

public int receive(int tid,
                   int sid,
                   double time,
                   byte[] buf,
                   int offset,
                   int length)
Grab an IpFlowCollector record and print it on screen

Specified by:
receive in interface StreamInterface
Overrides:
receive in class BasicPlayer
Parameters:
tid - type ID or the record
sid - ID corresponding to source NHI address
time - timestamp when it's dumped
buf - byte array storing the data
offset - where in the byte array to start
length - how long are the data in the array

main

public static void main(java.lang.String[] args)