Package | Description |
---|---|
com.intel.jndn.management |
Classes implementing NFD management protocol.
|
com.intel.jndn.management.helpers |
Various helpers.
|
Modifier and Type | Method and Description |
---|---|
static ManagementException |
ManagementException.fromResponse(net.named_data.jndn.ControlResponse response)
Create exception from NFD's ControlResponse.
|
Modifier and Type | Method and Description |
---|---|
static int |
Nfdc.createFace(net.named_data.jndn.Face face,
String uri)
Create a new face on the given forwarder.
|
static void |
Nfdc.destroyFace(net.named_data.jndn.Face face,
int faceId)
Destroy a face on given forwarder.
|
static void |
Nfdc.disableLocalControlHeader(net.named_data.jndn.Face face,
LocalControlHeader header)
Disable a local control feature on the given forwarder.
|
static void |
Nfdc.enableLocalControlHeader(net.named_data.jndn.Face face,
LocalControlHeader header)
Enable a local control feature on the given forwarder.
|
static List<ChannelStatus> |
Nfdc.getChannelStatusList(net.named_data.jndn.Face face)
Retrieve the list of channel status entries from the NFD; calls
/localhost/nfd/faces/channels which requires a local Face (all non-local packets
are dropped).
|
static List<FaceStatus> |
Nfdc.getFaceList(net.named_data.jndn.Face face)
Retrieve a list of faces and their status from the given forwarder; calls
/localhost/nfd/faces/list which requires a local Face (all non-local
packets are dropped).
|
static List<FibEntry> |
Nfdc.getFibList(net.named_data.jndn.Face face)
Retrieve a list of FIB entries and their NextHopRecords from the given
forwarder; calls /localhost/nfd/fib/list which requires a local Face (all
non-local packets are dropped).
|
static ForwarderStatus |
Nfdc.getForwarderStatus(net.named_data.jndn.Face face)
Retrieve the status of the given forwarder; calls /localhost/nfd/status/general
which requires a local Face (all non-local packets are dropped).
|
static net.named_data.jndn.KeyLocator |
Nfdc.getKeyLocator(net.named_data.jndn.Face face)
Retrieve the
KeyLocator for an NFD. |
static List<RibEntry> |
Nfdc.getRouteList(net.named_data.jndn.Face face)
Retrieve a list of routing entries from the RIB; calls
/localhost/nfd/rib/list which requires a local Face (all non-local packets
are dropped).
|
static List<StrategyChoice> |
Nfdc.getStrategyList(net.named_data.jndn.Face face)
Retrieve the list of strategy choice entries from the NFD; calls
/localhost/nfd/rib/list which requires a local Face (all non-local packets
are dropped).
|
static void |
Nfdc.register(net.named_data.jndn.Face face,
net.named_data.jndn.ControlParameters controlParameters)
Register a route on the forwarder.
|
static void |
Nfdc.register(net.named_data.jndn.Face forwarder,
int faceId,
net.named_data.jndn.Name route,
int cost)
Register a route on a forwarder; this will not create a new face since it
is provided a faceId.
|
static void |
Nfdc.register(net.named_data.jndn.Face face,
net.named_data.jndn.Name route,
int cost)
Register a route on a forwarder; this will create a new face on the
forwarder towards the face (e.g., self registration).
|
static void |
Nfdc.register(net.named_data.jndn.Face face,
String uri,
net.named_data.jndn.Name route,
int cost)
Register a route on a forwarder; this will create a new face on the
forwarder to the given URI/route pair.
|
static void |
Nfdc.setStrategy(net.named_data.jndn.Face face,
net.named_data.jndn.Name prefix,
net.named_data.jndn.Name strategy)
Set a strategy on the forwarder
Ensure the forwarding face is on the local machine (management requests are to /localhost/...) and that command
signing has been set up using forwarder.setCommandSigningInfo().
|
static void |
Nfdc.unregister(net.named_data.jndn.Face face,
net.named_data.jndn.ControlParameters controlParameters)
Unregister a route on a forwarder
Ensure the forwarding face is on the local machine (management requests are to /localhost/...) and that command
signing has been set up (e.g.
|
static void |
Nfdc.unregister(net.named_data.jndn.Face face,
net.named_data.jndn.Name route)
Unregister a route on a forwarder.
|
static void |
Nfdc.unregister(net.named_data.jndn.Face face,
net.named_data.jndn.Name route,
int faceId)
Unregister a route on a forwarder; see
Ensure the forwarding face is on the local machine (management requests are to /localhost/...) and that command
signing has been set up (e.g.
|
static void |
Nfdc.unregister(net.named_data.jndn.Face face,
net.named_data.jndn.Name route,
String uri)
Unregister a route on a forwarder
Ensure the forwarding face is on the local machine (management requests are to /localhost/...) and that command
signing has been set up using forwarder.setCommandSigningInfo().
|
static void |
Nfdc.unsetStrategy(net.named_data.jndn.Face face,
net.named_data.jndn.Name prefix)
Set a strategy on the forwarder; see
Nfdc.setStrategy(net.named_data.jndn.Face, net.named_data.jndn.Name, net.named_data.jndn.Name)
for more information. |
Modifier and Type | Method and Description |
---|---|
static <T extends Decodable> |
StatusDatasetHelper.wireDecode(List<net.named_data.jndn.Data> segments,
Class<T> type)
Decode multiple status entries as part of a StatusDatasetHelper.
|
Copyright © 2016. All rights reserved.