org.ccnx.ccn.impl.CCNNetworkManager.Filter Class Reference

Record of a filter describing portion of namespace for which this application can respond to interests. More...

Inheritance diagram for org.ccnx.ccn.impl.CCNNetworkManager.Filter:

org.ccnx.ccn.impl.CCNNetworkManager.CallbackHandlerRegistration

List of all members.

Public Member Functions

 Filter (ContentName n, Object h, Object o)
boolean deliver (Interest interest)
 Call the user's interest handler callback.
String toString ()

Protected Attributes

Interest interest = null
ContentName prefix = null


Detailed Description

Record of a filter describing portion of namespace for which this application can respond to interests.

Used to deliver incoming interests to registered interest handlers


Member Function Documentation

boolean org.ccnx.ccn.impl.CCNNetworkManager.Filter.deliver ( Interest  interest  ) 

Call the user's interest handler callback.

Parameters:
interest - the interest that triggered this
Returns:
- whether we handled the interest. If true we won't call any more handlers matching this interest


The documentation for this class was generated from the following file:

Generated on Thu Feb 16 00:44:51 2012 for Content-Centric Networking in Java by  doxygen 1.5.6