|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcsp.util.filter.PoisonFilter
public class PoisonFilter
This filter will throw a PoisonException
when filter(Object) is called. This can be
used to prevent a channel from being written to or read from.
| Constructor Summary | |
|---|---|
PoisonFilter()
Constructs a new filter with the default message. |
|
PoisonFilter(String message)
Constructs a new filter with a specific message. |
|
| Method Summary | |
|---|---|
Object |
filter(Object obj)
Applies the filter operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PoisonFilter()
public PoisonFilter(String message)
| Method Detail |
|---|
public Object filter(Object obj)
Filter
filter in interface Filterobj - the original object in the channel communication.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||