org.knopflerfish.framework.ServiceListenerEntry Class Reference

Inheritance diagram for org.knopflerfish.framework.ServiceListenerEntry:

org.knopflerfish.framework.ListenerEntry

List of all members.


Detailed Description

Data structure for saving service listener info.

Contains the optional service listener filter, in addition to the info in ListenerEntry.

Definition at line 395 of file Listeners.java.


Package Attributes

List[] local_cache
 The elements of "simple" filters are cached, for easy lookup.

Member Data Documentation

List [] org.knopflerfish.framework.ServiceListenerEntry.local_cache [package]

The elements of "simple" filters are cached, for easy lookup.

The grammar for simple filters is as follows:

 Simple = '(' attr '=' value ')'
        | '(' '|' Simple+ ')'
 
where attr is one of Constants#OBJECTCLASS, Constants#SERVICE_ID or Constants#SERVICE_PID, and value must not contain a wildcard character.

The index of the vector determines which key the cache is for (see ServiceListenerState#hashedKeys). For each key, there is a vector pointing out the values which are accepted by this ServiceListenerEntry's filter. This cache is maintained to make it easy to remove this service listener.

Definition at line 417 of file Listeners.java.

Referenced by org.knopflerfish.framework.ServiceListenerState.checkSimple().


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:19 2010 for OpenMobileIS by  doxygen 1.5.4