|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joone.util.MonitorPlugin
public abstract class MonitorPlugin
This class represents a generic listener of the net's events. Any new listener can be created simply extending this class and filling the manageXxxx methods with the necessary code.
Constructor Summary | |
---|---|
MonitorPlugin()
|
Method Summary | |
---|---|
void |
cicleTerminated(NeuralNetEvent e)
cicleTerminated method. |
void |
errorChanged(NeuralNetEvent e)
|
java.lang.String |
getName()
Getter for property name. |
NeuralNet |
getNeuralNet()
|
int |
getRate()
Getter for property rate. |
protected abstract void |
manageCycle(Monitor mon)
|
protected abstract void |
manageError(Monitor mon)
|
protected abstract void |
manageStart(Monitor mon)
|
protected abstract void |
manageStop(Monitor mon)
|
protected abstract void |
manageStopError(Monitor mon,
java.lang.String msgErr)
|
void |
netStarted(NeuralNetEvent e)
|
void |
netStopped(NeuralNetEvent e)
netStopped method comment. |
void |
netStoppedError(NeuralNetEvent e,
java.lang.String error)
|
void |
setName(java.lang.String name)
Setter for property name. |
void |
setNeuralNet(NeuralNet neuralNet)
|
void |
setRate(int rate)
Setter for property rate. |
protected boolean |
toBeManaged(Monitor monitor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MonitorPlugin()
Method Detail |
---|
public void cicleTerminated(NeuralNetEvent e)
cicleTerminated
in interface NeuralNetListener
public void netStopped(NeuralNetEvent e)
netStopped
in interface NeuralNetListener
public void netStarted(NeuralNetEvent e)
netStarted
in interface NeuralNetListener
public void errorChanged(NeuralNetEvent e)
errorChanged
in interface NeuralNetListener
public void netStoppedError(NeuralNetEvent e, java.lang.String error)
netStoppedError
in interface NeuralNetListener
protected boolean toBeManaged(Monitor monitor)
protected abstract void manageStop(Monitor mon)
protected abstract void manageCycle(Monitor mon)
protected abstract void manageStart(Monitor mon)
protected abstract void manageError(Monitor mon)
protected abstract void manageStopError(Monitor mon, java.lang.String msgErr)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- New value of property name.public int getRate()
public void setRate(int rate)
rate
- New value of property rate.public NeuralNet getNeuralNet()
public void setNeuralNet(NeuralNet neuralNet)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |