|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.distributed.PacketFilter
public abstract class PacketFilter
Specifies filtering criteria for specified packet types.
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
_log4j
Log4j logger |
| Constructor Summary | |
|---|---|
PacketFilter(int filteredTypeFlags)
Create PacketFilter, specify packet types to filter. |
|
| Method Summary | |
|---|---|
protected boolean |
filteredType(DevicePacket packet)
Return true if specified packet is type to be filtered. |
abstract boolean |
pass(DevicePacket packet)
If filter is not applicable to specified packet's type, or specified packet passes filter criteria, return true; else return false. |
abstract void |
reset()
Reset filter in preparation for starting on an input data set. |
java.lang.String |
toString()
Return string representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.log4j.Logger _log4j
| Constructor Detail |
|---|
public PacketFilter(int filteredTypeFlags)
| Method Detail |
|---|
public abstract boolean pass(DevicePacket packet)
public abstract void reset()
protected boolean filteredType(DevicePacket packet)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||