| Package | Description |
|---|---|
| net.named_data.jndn | |
| net.named_data.jndn.util |
| Modifier and Type | Class and Description |
|---|---|
class |
ForwardingFlags
Deprecated.
Use RegistrationOptions.
|
| Modifier and Type | Method and Description |
|---|---|
RegistrationOptions |
ControlParameters.getForwardingFlags() |
RegistrationOptions |
RegistrationOptions.setCapture(boolean capture)
Set the value of the "capture" flag
|
RegistrationOptions |
RegistrationOptions.setChildInherit(boolean childInherit)
Set the value of the "childInherit" flag
|
RegistrationOptions |
RegistrationOptions.setNfdForwardingFlags(int nfdForwardingFlags)
Set the flags according to the NFD forwarding flags as used in the
ControlParameters of the command interest.
|
RegistrationOptions |
RegistrationOptions.setOrigin(int origin)
Set the origin value.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
RegistrationOptions registrationOptions)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
ThreadPoolFace.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
RegistrationOptions registrationOptions,
WireFormat wireFormat)
Submit a task to the thread pool to register prefix with the connected
forwarder and call onInterest when a matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
RegistrationOptions registrationOptions,
WireFormat wireFormat)
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,
RegistrationOptions registrationOptions)
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,
RegistrationOptions registrationOptions,
WireFormat wireFormat)
Register prefix with the connected NDN hub and call onInterest when a
matching interest is received.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterSuccess onRegisterSuccess,
OnRegisterFailed onRegisterFailed,
RegistrationOptions registrationOptions)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess, registrationOptions)
where the onRegisterSuccess parameter comes after onRegisterFailed.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterSuccess onRegisterSuccess,
OnRegisterFailed onRegisterFailed,
RegistrationOptions registrationOptions,
WireFormat wireFormat)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess, registrationOptions, wireFormat)
where the onRegisterSuccess parameter comes after onRegisterFailed.
|
ControlParameters |
ControlParameters.setForwardingFlags(RegistrationOptions flags)
Set the RegistrationOptions object to a copy of flags.
|
| Constructor and Description |
|---|
ForwardingFlags(RegistrationOptions forwardingFlags)
Deprecated.
Create a new ForwardingFlags as a copy of the given value.
|
RegistrationOptions(RegistrationOptions registrationOptions)
Create a new RegistrationOptions as a copy of the given value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnInterestCallback onDataNotFound,
RegistrationOptions registrationOptions)
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,
RegistrationOptions registrationOptions,
WireFormat wireFormat)
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,
OnRegisterSuccess onRegisterSuccess,
OnInterestCallback onDataNotFound,
RegistrationOptions registrationOptions)
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,
OnRegisterSuccess onRegisterSuccess,
OnInterestCallback onDataNotFound,
RegistrationOptions registrationOptions,
WireFormat wireFormat)
Call registerPrefix on the Face given to the constructor so that this
MemoryContentCache will answer interests whose name has the prefix.
|
Copyright © 2019. All rights reserved.