| Modifier and Type | Class and Description |
|---|---|
class |
ThreadPoolFace
ThreadPoolFace extends Face to provide the main methods for NDN communication
by submitting to a given ScheduledExecutorService thread pool.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Node.expressInterest(long pendingInterestId,
Interest interestCopy,
OnData onData,
OnTimeout onTimeout,
OnNetworkNack onNetworkNack,
WireFormat wireFormat,
Face face)
Send the Interest through the transport, read the entire response and call
onData, onTimeout or onNetworkNack as described below.
|
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.
|
void |
Node.registerPrefix(long registeredPrefixId,
Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
RegistrationOptions registrationOptions,
WireFormat wireFormat,
KeyChain commandKeyChain,
Name commandCertificateName,
Face face)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
void |
Node.setInterestFilter(long interestFilterId,
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.
|
| Constructor and Description |
|---|
AccessManagerV2(PibIdentity identity,
Name dataset,
KeyChain keyChain,
Face face)
Create an AccessManagerV2 to serve the NAC public key for other data
producers to fetch, and to serve encrypted versions of the private keys
(as safe bags) for authorized consumers to fetch.
|
Consumer(Face face,
KeyChain keyChain,
Name groupName,
Name consumerName,
ConsumerDb database)
Create a Consumer to use the given ConsumerDb, Face and other values.
|
Consumer(Face face,
KeyChain keyChain,
Name groupName,
Name consumerName,
ConsumerDb database,
Link cKeyLink,
Link dKeyLink)
Create a Consumer to use the given ConsumerDb, Face and other values.
|
DecryptorV2(PibKey credentialsKey,
Validator validator,
KeyChain keyChain,
Face face)
Create a DecryptorV2 with the given parameters.
|
EncryptorV2(Name accessPrefix,
Name ckPrefix,
SigningInfo ckDataSigningInfo,
EncryptError.OnError onError,
Validator validator,
KeyChain keyChain,
Face face)
Create an EncryptorV2 with the given parameters.
|
Producer(Name prefix,
Name dataType,
Face face,
KeyChain keyChain,
ProducerDb database)
Create a Producer to use the given ProducerDb, Face and other values.
|
Producer(Name prefix,
Name dataType,
Face face,
KeyChain keyChain,
ProducerDb database,
int repeatAttempts)
Create a Producer to use the given ProducerDb, Face and other values.
|
Producer(Name prefix,
Name dataType,
Face face,
KeyChain keyChain,
ProducerDb database,
int repeatAttempts,
Link keyRetrievalLink)
Create a Producer to use the given ProducerDb, Face and other values.
|
| Modifier and Type | Method and Description |
|---|---|
Face |
InterestFilterTable.Entry.getFace()
Get the Face given to the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InterestFilterTable.setInterestFilter(long interestFilterId,
InterestFilter filter,
OnInterestCallback onInterest,
Face face)
Add a new entry to the table.
|
| Constructor and Description |
|---|
Entry(long interestFilterId,
InterestFilter filter,
OnInterestCallback onInterest,
Face face)
Create a new Entry with the given values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KeyChain.setFace(Face face)
Set the Face which will be used to fetch required certificates.
|
| Constructor and Description |
|---|
ValidatorConfig(Face face)
Create a ValidatorConfig that uses a CertificateFetcherFromNetwork for the
given Face.
|
| Constructor and Description |
|---|
CertificateFetcherFromNetwork(Face face)
Create a CertificateFetcherFromNetwork to fetch certificates using the Face.
|
| 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.
|
FullPSync2017(int expectedNEntries,
Face face,
Name syncPrefix,
FullPSync2017.OnNamesUpdate onNamesUpdate,
KeyChain keyChain)
Create a FullPSync2017, where syncInterestLifetime is
DEFAULT_SYNC_INTEREST_LIFETIME, syncReplyFreshnessPeriod is
DEFAULT_SYNC_REPLY_FRESHNESS_PERIOD and signingInfo is the default
SigningInfo().
|
FullPSync2017(int expectedNEntries,
Face face,
Name syncPrefix,
FullPSync2017.OnNamesUpdate onNamesUpdate,
KeyChain keyChain,
double syncInterestLifetime,
double syncReplyFreshnessPeriod)
Create a FullPSync2017, where signingInfo is the default SigningInfo().
|
FullPSync2017(int expectedNEntries,
Face face,
Name syncPrefix,
FullPSync2017.OnNamesUpdate onNamesUpdate,
KeyChain keyChain,
double syncInterestLifetime,
double syncReplyFreshnessPeriod,
SigningInfo signingInfo)
Create a FullPSync2017.
|
FullPSync2017(int expectedNEntries,
Face face,
Name syncPrefix,
FullPSync2017.OnNamesUpdate onNamesUpdate,
KeyChain keyChain,
double syncInterestLifetime,
double syncReplyFreshnessPeriod,
SigningInfo signingInfo,
FullPSync2017.CanAddToSyncData canAddToSyncData,
FullPSync2017.CanAddReceivedName canAddReceivedName)
Create a FullPSync2017.
|
FullPSync2017WithUsers(int expectedNEntries,
Face face,
Name syncPrefix,
Name userPrefix,
FullPSync2017WithUsers.OnUpdate onUpdate,
KeyChain keyChain)
Create a FullPSync2017WithUsers, where syncInterestLifetime is
FullPSync2017.DEFAULT_SYNC_INTEREST_LIFETIME, syncReplyFreshnessPeriod is
FullPSync2017.DEFAULT_SYNC_REPLY_FRESHNESS_PERIOD, and signingInfo is the
default SigningInfo().
|
FullPSync2017WithUsers(int expectedNEntries,
Face face,
Name syncPrefix,
Name userPrefix,
FullPSync2017WithUsers.OnUpdate onUpdate,
KeyChain keyChain,
double syncInterestLifetime,
double syncReplyFreshnessPeriod)
Create a FullPSync2017WithUsers, where signingInfo is the default
SigningInfo().
|
FullPSync2017WithUsers(int expectedNEntries,
Face face,
Name syncPrefix,
Name userPrefix,
FullPSync2017WithUsers.OnUpdate onUpdate,
KeyChain keyChain,
double syncInterestLifetime,
double syncReplyFreshnessPeriod,
SigningInfo signingInfo)
Create a FullPSync2017WithUsers.
|
| Constructor and Description |
|---|
PSyncSegmentPublisher(Face face,
KeyChain keyChain)
Create a PSyncSegmentPublisher where inMemoryStorageLimit is
MAX_SEGMENTS_STORED.
|
PSyncSegmentPublisher(Face face,
KeyChain keyChain,
int inMemoryStorageLimit)
Create a PSyncSegmentPublisher.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SegmentFetcher.fetch(Face face,
Interest baseInterest,
KeyChain validatorKeyChain,
SegmentFetcher.OnComplete onComplete,
SegmentFetcher.OnError onError) |
static void |
SegmentFetcher.fetch(Face face,
Interest baseInterest,
SegmentFetcher.Options options,
KeyChain validatorKeyChain,
SegmentFetcher.OnComplete onComplete,
SegmentFetcher.OnError onError)
Initiate segment fetching.
|
static void |
SegmentFetcher.fetch(Face face,
Interest baseInterest,
SegmentFetcher.Options options,
SegmentFetcher.VerifySegment verifySegment,
SegmentFetcher.OnComplete onComplete,
SegmentFetcher.OnError onError)
Initiate segment fetching.
|
static void |
SegmentFetcher.fetch(Face face,
Interest baseInterest,
SegmentFetcher.Options options,
Validator validator,
SegmentFetcher.OnComplete onComplete,
SegmentFetcher.OnError onError)
Initiate segment fetching.
|
static void |
SegmentFetcher.fetch(Face face,
Interest baseInterest,
SegmentFetcher.VerifySegment verifySegment,
SegmentFetcher.OnComplete onComplete,
SegmentFetcher.OnError onError) |
static void |
SegmentFetcher.fetch(Face face,
Interest baseInterest,
Validator validator,
SegmentFetcher.OnComplete onComplete,
SegmentFetcher.OnError onError) |
static OnTimeout |
ExponentialReExpress.makeOnTimeout(Face face,
OnData onData,
OnTimeout onTimeout)
Return an OnTimeout object to use in expressInterest for onTimeout which
will express the interest again with double the interestLifetime.
|
static OnTimeout |
ExponentialReExpress.makeOnTimeout(Face face,
OnData onData,
OnTimeout onTimeout,
double maxInterestLifetime)
Return an OnTimeout object to use in expressInterest for onTimeout which
will express the interest again with double the interestLifetime.
|
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 © 2019. All rights reserved.