Package | Description |
---|---|
net.named_data.jndn | |
net.named_data.jndn.util |
Modifier and Type | Method and Description |
---|---|
void |
Node.registerPrefix(long registeredPrefixId,
Name prefix,
OnInterestCallback onInterest,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess,
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,
OnRegisterSuccess onRegisterSuccess)
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,
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,
OnRegisterSuccess onRegisterSuccess,
ForwardingFlags flags,
WireFormat wireFormat)
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,
ForwardingFlags flags,
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,
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)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess)
where the onRegisterSuccess parameter comes after onRegisterFailed.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterSuccess onRegisterSuccess,
OnRegisterFailed onRegisterFailed,
ForwardingFlags flags)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess, flags)
where the onRegisterSuccess parameter comes after onRegisterFailed.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterSuccess onRegisterSuccess,
OnRegisterFailed onRegisterFailed,
ForwardingFlags flags,
WireFormat wireFormat)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess, flags, wireFormat)
where the onRegisterSuccess parameter comes after onRegisterFailed.
|
long |
Face.registerPrefix(Name prefix,
OnInterestCallback onInterest,
OnRegisterSuccess onRegisterSuccess,
OnRegisterFailed onRegisterFailed,
WireFormat wireFormat)
Deprecated.
Use
registerPrefix(prefix, onInterest, onRegisterFailed, onRegisterSuccess, wireFormat)
where the onRegisterSuccess parameter comes after onRegisterFailed.
|
Modifier and Type | Method and Description |
---|---|
void |
MemoryContentCache.registerPrefix(Name prefix,
OnRegisterFailed onRegisterFailed,
OnRegisterSuccess onRegisterSuccess)
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)
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,
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,
OnRegisterSuccess onRegisterSuccess,
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 © 2016. All rights reserved.