Re: [rules-users] Using eval in LHS

2009-07-28 Thread PriyaKathan
; > > HashMap collided_at = new > > HashMap(); > > > for (Iterator iterator = > > > stopped_cars.iterator(); iterator.hasNext(); ) > > > { > > > VehicleLocation > > vehLoc = > > > (VehicleLocation) iterator.next(); > >

Re: [rules-users] CEP Rule Help Needed

2009-07-23 Thread PriyaKathan
he docs, though: >>> > >>> > >>> > >>> > >>> https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-fusion/html_single/index.html#d0e622 >>> > >>> > >>> > >>>

Re: [rules-users] CEP Rule Help Needed

2009-07-22 Thread PriyaKathan
> If you use the second argument of after I think it would > > work: > > > > > > > > $s2 : Snort( sig_name != "(portscan) Open Port" , > > id != $s1.id, ip_dst == $s1.ip_dst, this > > after [0m,5m] $s1) from entry-point "Correlator"

Re: [rules-users] Unpredicatable output with Temporal rule

2009-07-02 Thread PriyaKathan
be much responsive till next > week, but I will try to look into this asap. > > []s > Edson > > > > 2009/7/2 PriyaKathan > > Here is the Code Snippet: >> >> currentTimeStamp = getCurrentTimeStamp(tuple, schArray);// the >> met

Re: [rules-users] Unpredicatable output with Temporal rule

2009-07-02 Thread PriyaKathan
Here is the Code Snippet: currentTimeStamp = getCurrentTimeStamp(tuple, schArray);// the method will the timestamp of the tuple this.clock.advanceTime(currentTimeStamp - clock.getCurrentTime(), TimeUnit.MILLISECONDS); this.ruleSession.fireAllRules(); I use Pse