|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.limegroup.gnutella.filters.SpamFilter
com.limegroup.gnutella.filters.DuplicateFilter
A spam filter that tries to eliminate duplicate packets from overzealous users. Since requests are not traceable, we have to use the following heuristics:
| Constructor Summary | |
DuplicateFilter()
|
|
| Method Summary | |
boolean |
allow(Message m)
Returns true iff this is considered spam and should not be processed. |
boolean |
allowGUID(Message m)
|
boolean |
allowQuery(QueryRequest qr)
|
| Methods inherited from class com.limegroup.gnutella.filters.SpamFilter |
newPersonalFilter, newRouteFilter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DuplicateFilter()
| Method Detail |
public boolean allow(Message m)
SpamFilter
allow in class SpamFilterpublic boolean allowGUID(Message m)
public boolean allowQuery(QueryRequest qr)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||