SSF.App.DDoS
Class DestList

java.lang.Object
  |
  +--SSF.Util.Streams.BasicPlayer
        |
        +--SSF.App.DDoS.DestList
All Implemented Interfaces:
StreamInterface

public class DestList
extends BasicPlayer

Tempararily used Destination List tool in DDoS trace back. List destination IP addresses of flows


Field Summary
protected  java.util.Hashtable destTable
          store information of related ingress traffic
protected  float endTime
          end time
static int SET_QUERY_FAIL
          some constants
static int SET_QUERY_SUCC
           
protected  float startTime
          start time
 
Constructor Summary
DestList(java.lang.String streamID)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void printSummary()
          print out the content and a summary of ingress/egress table
 int receive(int type_code, int source_code, double timestamp, byte[] bytes, int offset, int length)
          Default handler for generic record data.
 int setQuery(float startTime, float endTime)
          This is called to set the parameters for query.
 
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
 

Field Detail

SET_QUERY_FAIL

public static final int SET_QUERY_FAIL
some constants

See Also:
Constant Field Values

SET_QUERY_SUCC

public static final int SET_QUERY_SUCC
See Also:
Constant Field Values

destTable

protected java.util.Hashtable destTable
store information of related ingress traffic


startTime

protected float startTime
start time


endTime

protected float endTime
end time

Constructor Detail

DestList

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

setQuery

public int setQuery(float startTime,
                    float endTime)
This is called to set the parameters for query.


receive

public int receive(int type_code,
                   int source_code,
                   double timestamp,
                   byte[] bytes,
                   int offset,
                   int length)
Description copied from class: BasicPlayer
Default handler for generic record data.

Specified by:
receive in interface StreamInterface
Overrides:
receive in class BasicPlayer

printSummary

public void printSummary()
print out the content and a summary of ingress/egress table


main

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