Public Member Functions | |
RepositoryInterestHandler (RepositoryServer server) | |
boolean | handleInterest (Interest interest) |
Callback called when we get a new interest matching our filter. | |
void | process (Interest interest) |
Parse incoming interests for type and dispatch those dedicated to some special purpose. | |
void | nameEnumeratorResponse (Interest interest) |
Handle name enumeration requests. | |
void | shutdown () |
Protected Member Functions | |
boolean | _checkShutdown () |
boolean | allowGenerated (Interest interest) |
Classes | |
class | NEResponse |
boolean org.ccnx.ccn.impl.repo.RepositoryInterestHandler.handleInterest | ( | Interest | interest | ) |
Callback called when we get a new interest matching our filter.
interests | The matching interest |
Implements org.ccnx.ccn.CCNInterestHandler.
void org.ccnx.ccn.impl.repo.RepositoryInterestHandler.process | ( | Interest | interest | ) |
Parse incoming interests for type and dispatch those dedicated to some special purpose.
Interests can be to start a write or a name enumeration request. If the interest has no special purpose, its assumed that it's to actually read data from the repository and the request is sent to the RepositoryStore to be processed.
void org.ccnx.ccn.impl.repo.RepositoryInterestHandler.nameEnumeratorResponse | ( | Interest | interest | ) |
Handle name enumeration requests.
NE responses can potentially take a long time so don't hog the queue - dispatch these separately.
interest |