|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Generator
A Generator is an object that generates data. Generators might generate data incrementally, such a web crawler, or a running simulation. Or, they might simply represent an existing store of data and generate that data into a protocol.
It is possible for objects to implement both the Generator and Pod interfaces. This would be used for Pods that have the generator-like property of producing data.
Generators can have string-named properties attached to them.
Method Summary | |
---|---|
boolean |
getEnabled()
Get the flag that says whether the generator is enabled. |
Transmitter |
getTransmitter(Protocol p,
HashMap properties)
Get a transmitter of the given protocol from the Generator. |
void |
setEnabled(boolean enabled)
Enable or disable the generator. |
Methods inherited from interface diva.util.PropertyContainer |
---|
getProperty, propertyNames, setProperty |
Method Detail |
---|
boolean getEnabled()
Transmitter getTransmitter(Protocol p, HashMap properties)
void setEnabled(boolean enabled)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |