public class ClientRuleSystemAgent
extends java.lang.Object
implements jadex.bridge.service.types.ecarules.IRuleEngineService
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.IInternalAccess |
agent
The agent.
|
protected java.util.List<jadex.commons.future.SubscriptionIntermediateFuture<jadex.rules.eca.RuleEvent>> |
resubscribers
The subscriptions.
|
protected jadex.rules.eca.RuleSystem |
rulesystem
The rule system.
|
Constructor and Description |
---|
ClientRuleSystemAgent() |
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IIntermediateFuture<jadex.rules.eca.RuleEvent> |
addEvent(jadex.rules.eca.IEvent event)
Add an external event to the rule engine.
|
void |
init()
Init method.
|
protected void |
publishEvent(jadex.rules.eca.RuleEvent event) |
void |
setRulebaseService(jadex.bridge.service.types.ecarules.IRulebaseService rbser) |
jadex.commons.future.ISubscriptionIntermediateFuture<jadex.rules.eca.RuleEvent> |
subscribeToEngine()
Subscribe to rule executions.
|
protected jadex.bridge.IInternalAccess agent
protected jadex.rules.eca.RuleSystem rulesystem
protected java.util.List<jadex.commons.future.SubscriptionIntermediateFuture<jadex.rules.eca.RuleEvent>> resubscribers
public void init()
public void setRulebaseService(jadex.bridge.service.types.ecarules.IRulebaseService rbser)
public jadex.commons.future.IIntermediateFuture<jadex.rules.eca.RuleEvent> addEvent(jadex.rules.eca.IEvent event)
addEvent
in interface jadex.bridge.service.types.ecarules.IRuleEngineService
event
- The event.public jadex.commons.future.ISubscriptionIntermediateFuture<jadex.rules.eca.RuleEvent> subscribeToEngine()
subscribeToEngine
in interface jadex.bridge.service.types.ecarules.IRuleEngineService
protected void publishEvent(jadex.rules.eca.RuleEvent event)