Beispiel #1
0
 private void InitBlock()
 {
     defclass = CollectionFactory.localMap();
     templateToDefclass = CollectionFactory.localMap();
     functions = CollectionFactory.localMap();
     outputStreams = CollectionFactory.localMap();
     listeners = new List<Object>();
     functionGroups = new List<Object>();
     //log = new Log4netLogger(typeof (Rete));
     router = new MessageRouter(this);
     initFact = new InitialFact();
     deffunctions = new DeffunctionGroup();
     root = new RootNode();
     rulesFired = CollectionFactory.localMap();
 }
Beispiel #2
0
 public StringChannelImpl(String channelId, MessageRouter router, InterestType interest)
     : base(channelId, router, interest)
 {
     InitBlock();
     parser = new CLIPSParser(router.ReteEngine, (StreamReader) null);
 }
Beispiel #3
0
 public StringChannelImpl(String channelId, MessageRouter router, InterestType interest) : base(channelId, router, interest)
 {
     InitBlock();
     parser = new CLIPSParser(router.ReteEngine, (StreamReader)null);
 }
Beispiel #4
0
 private void InitBlock(MessageRouter enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
Beispiel #5
0
 protected internal AbstractCommunicationChannel(String channelId, MessageRouter router, InterestType interest)
 {
     _channelId = channelId;
     _router    = router;
     _interest  = interest;
 }
Beispiel #6
0
 public CommandThread(MessageRouter enclosingInstance)
 {
     InitBlock(enclosingInstance);
 }
Beispiel #7
0
 public Shell(Rete engine)
 {
     router = engine.MessageRouter;
 }
Beispiel #8
0
 protected internal AbstractCommunicationChannel(String channelId, MessageRouter router, InterestType interest)
 {
     _channelId = channelId;
     _router = router;
     _interest = interest;
 }
Beispiel #9
0
 private void InitBlock(MessageRouter enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
Beispiel #10
0
 public CommandThread(MessageRouter enclosingInstance)
 {
     InitBlock(enclosingInstance);
 }