Package example.mmult
Class FlexibleEventCollector
- java.lang.Object
-
- ibis.constellation.Activity
-
- example.mmult.FlexibleEventCollector
-
- All Implemented Interfaces:
java.io.Serializable
public class FlexibleEventCollector extends Activity
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlexibleEventCollector()
FlexibleEventCollector(AbstractContext c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup(Constellation cons)
int
initialize(Constellation cons)
int
process(Constellation cons, Event e)
java.lang.String
toString()
Event[]
waitForEvents()
-
Methods inherited from class ibis.constellation.Activity
expectsEvents, getContext, identifier, mayBeStolen, setIdentifier
-
-
-
-
Constructor Detail
-
FlexibleEventCollector
public FlexibleEventCollector(AbstractContext c)
-
FlexibleEventCollector
public FlexibleEventCollector()
-
-
Method Detail
-
initialize
public int initialize(Constellation cons)
- Specified by:
initialize
in classActivity
-
process
public int process(Constellation cons, Event e)
-
cleanup
public void cleanup(Constellation cons)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
waitForEvents
public Event[] waitForEvents()
-
-