| Package | Description |
|---|---|
| net.named_data.jndn | |
| net.named_data.jndn.sync | |
| net.named_data.jndn.util |
| Modifier and Type | Method and Description |
|---|---|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
ForwardingFlags flags)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
ForwardingFlags flags,
WireFormat wireFormat)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
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 |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
WireFormat wireFormat)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.setInterestFilter(InterestFilter filter,
OnInterestCallback onInterest)
Add an entry to the local interest filter table to call the onInterest
callback for a matching incoming Interest.
|
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.
|
long |
Face.setInterestFilter(Name prefix,
OnInterestCallback onInterest)
Add an entry to the local interest filter table to call the onInterest
callback for a matching incoming Interest.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChronoSync2013
ChronoSync2013 implements the NDN ChronoSync protocol as described in the
2013 paper "Let's ChronoSync: Decentralized Dataset State Synchronization in
Named Data Networking".
|
| Modifier and Type | Class and Description |
|---|---|
class |
MemoryContentCache
A MemoryContentCache holds a set of Data packets and answers an Interest to
return the correct Data packet.
|
| Modifier and Type | Method and Description |
|---|---|
OnInterestCallback |
MemoryContentCache.getStorePendingInterest()
Return a callback to use for onDataNotFound in registerPrefix which simply
calls storePendingInterest() to store the interest that doesn't match a
Data packet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnInterestCallback onDataNotFound)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnInterestCallback onDataNotFound,
ForwardingFlags flags)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnInterestCallback onDataNotFound,
ForwardingFlags flags,
WireFormat wireFormat)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
Copyright © 2015. All rights reserved.