Interface IReasonerRegistry
-
- All Known Implementing Classes:
ReasonerRegistry
public interface IReasonerRegistryPublic interface for this reasoner registry capable of handling multiple reasoners.- Author:
- El-Sharkawy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyAllReasoners(IReasoner source, IReasonerMessage.IType type)Notifies all reasoners about a given event.voidregister(IReasoner reasoner)Adds a new Reasoner to the registry.voidunregister(IReasoner reasoner)Removes the specified reasoner from the registry, if the reasoner was added before.
-
-
-
Method Detail
-
register
void register(IReasoner reasoner)
Adds a new Reasoner to the registry.- Parameters:
reasoner- The Reasoner which should be added to the registry.
-
unregister
void unregister(IReasoner reasoner)
Removes the specified reasoner from the registry, if the reasoner was added before.- Parameters:
reasoner- The reasoner which should be removed from the registry.
-
notifyAllReasoners
void notifyAllReasoners(IReasoner source, IReasonerMessage.IType type)
Notifies all reasoners about a given event.- Parameters:
source- the reasoner causing the eventtype- the type of the event
-
-