| Package | Description |
|---|---|
| net.named_data.jndn | |
| net.named_data.jndn.security | |
| net.named_data.jndn.sync | |
| net.named_data.jndn.util |
| Modifier and Type | Method and Description |
|---|---|
void |
OnInterestCallback.onInterest(Name prefix,
Interest interest,
Face face,
long interestFilterId,
InterestFilter filter)
When an interest is received which matches the interest filter, onInterest
is called.
|
long |
Node.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
ForwardingFlags flags,
WireFormat wireFormat,
KeyChain commandKeyChain,
Name commandCertificateName,
Face face)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Node.setInterestFilter(InterestFilter filter,
OnInterestCallback onInterest,
Face face)
Add an entry to the local interest filter table to call the onInterest
callback for a matching incoming Interest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KeyChain.setFace(Face face)
Set the Face which will be used to fetch required certificates.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChronoSync2013.onInterest(Name prefix,
Interest interest,
Face face,
long interestFilterId,
InterestFilter filter)
Process the sync interest from the applicationBroadcastPrefix.
|
| Constructor and Description |
|---|
ChronoSync2013(ChronoSync2013.OnReceivedSyncState onReceivedSyncState,
ChronoSync2013.OnInitialized onInitialized,
Name applicationDataPrefix,
Name applicationBroadcastPrefix,
long sessionNo,
Face face,
KeyChain keyChain,
Name certificateName,
double syncLifetime,
OnRegisterFailed onRegisterFailed)
Create a new ChronoSync2013 to communicate using the given face.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SegmentFetcher.fetch(Face face,
Interest baseInterest,
SegmentFetcher.VerifySegment verifySegment,
SegmentFetcher.OnComplete onComplete,
SegmentFetcher.OnError onError)
Initiate segment fetching.
|
void |
MemoryContentCache.onInterest(Name prefix,
Interest interest,
Face face,
long interestFilterId,
InterestFilter filter) |
void |
MemoryContentCache.storePendingInterest(Interest interest,
Face face)
Store an interest from an OnInterest callback in the internal pending
interest table (normally because there is no Data packet available yet to
satisfy the interest).
|
| Constructor and Description |
|---|
MemoryContentCache(Face face)
Create a new MemoryContentCache to use the given Face, with a default
cleanupIntervalMilliseconds of 1000.0 milliseconds.
|
MemoryContentCache(Face face,
double cleanupIntervalMilliseconds)
Create a new MemoryContentCache to use the given Face.
|
Copyright © 2015. All rights reserved.