com.jeceira.observation
Class EventFilter

java.lang.Object
  extended bycom.jeceira.observation.EventFilter

public class EventFilter
extends java.lang.Object

Author:
Kristian Duske

Constructor Summary
EventFilter(SessionContext sessionContext, int eventTypes, FilterPath filterPath, java.lang.String[] uuids, java.lang.String[] nodeTypeNames, boolean noLocal)
          Creates an event filter with the specified criteria.
 
Method Summary
 boolean passes(SessionEvent sessionEvent)
          Indicates if the specified session event meets the criteria represented by this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventFilter

public EventFilter(SessionContext sessionContext,
                   int eventTypes,
                   FilterPath filterPath,
                   java.lang.String[] uuids,
                   java.lang.String[] nodeTypeNames,
                   boolean noLocal)
Creates an event filter with the specified criteria. The specified session context is the context in which the listener using this filter has been created.

Throws:
java.lang.NullPointerException - if the specified session context or filter path is null
Method Detail

passes

public boolean passes(SessionEvent sessionEvent)
Indicates if the specified session event meets the criteria represented by this filter.

Throws:
java.lang.NullPointerException - if the specified event is null


Copyright © 2005 Aparzev Software Ltd. All Rights Reserved.