|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.Util.Streams.BasicPlayer
|
+--SSF.App.DDoS.SD_DDoSTracer
Tempararily used DDoS Tracer in a single domain.
| Field Summary | |
protected float |
endTime
end time |
protected java.util.Hashtable |
internalTable
store information of related ingress traffic |
static int |
SET_QUERY_FAIL
some constants |
static int |
SET_QUERY_SUCC
|
protected float |
startTime
start time |
protected int |
targetIP
the target IP address |
protected long |
totalEgressFlows
|
protected long |
totalEgressPkts
|
protected long |
totalEgressSize
|
protected long |
totalIngressFlows
|
protected long |
totalIngressPkts
|
protected long |
totalIngressSize
statistic data of a domain |
| Constructor Summary | |
SD_DDoSTracer(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(int targetIP,
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 |
public static final int SET_QUERY_FAIL
public static final int SET_QUERY_SUCC
protected java.util.Hashtable internalTable
protected int targetIP
protected float startTime
protected float endTime
protected long totalIngressSize
protected long totalIngressPkts
protected long totalIngressFlows
protected long totalEgressSize
protected long totalEgressPkts
protected long totalEgressFlows
| Constructor Detail |
public SD_DDoSTracer(java.lang.String streamID)
| Method Detail |
public int setQuery(int targetIP,
float startTime,
float endTime)
public int receive(int type_code,
int source_code,
double timestamp,
byte[] bytes,
int offset,
int length)
BasicPlayer
receive in interface StreamInterfacereceive in class BasicPlayerpublic void printSummary()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||