| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_60-ea) on Fri Sep 04 15:17:00 PDT 2015 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>NFD (jndn-management 1.0.0 API)</title> |
| <meta name="date" content="2015-09-04"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="NFD (jndn-management 1.0.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/NFD.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../com/intel/jndn/management/Strategies.html" title="class in com.intel.jndn.management"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?com/intel/jndn/management/NFD.html" target="_top">Frames</a></li> |
| <li><a href="NFD.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">com.intel.jndn.management</div> |
| <h2 title="Class NFD" class="title">Class NFD</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>com.intel.jndn.management.NFD</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">NFD</span> |
| extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block">Helper class for interacting with an NDN forwarder daemon; see |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/Management">http://redmine.named-data.net/projects/nfd/wiki/Management</a> |
| for explanations of the various protocols used.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd>Andrew Brown <andrew.brown@intel.com></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#DEFAULT_TIMEOUT">DEFAULT_TIMEOUT</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#OK_STATUS">OK_STATUS</a></span></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#NFD--">NFD</a></span>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#addNextHop-net.named_data.jndn.Face-int-net.named_data.jndn.Name-">addNextHop</a></span>(net.named_data.jndn.Face forwarder, |
| int faceId, |
| net.named_data.jndn.Name prefix)</code> |
| <div class="block">Helper method to register a new face on the forwarder; as mentioned at |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a>, |
| this is more for debugging; use 'register' instead</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#createFace-net.named_data.jndn.Face-java.lang.String-">createFace</a></span>(net.named_data.jndn.Face forwarder, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri)</code> |
| <div class="block">Create a new face on the given forwarder.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#destroyFace-net.named_data.jndn.Face-int-">destroyFace</a></span>(net.named_data.jndn.Face forwarder, |
| int faceId)</code> |
| <div class="block">Destroy a face on given forwarder.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#disableLocalControlHeader-net.named_data.jndn.Face-com.intel.jndn.management.types.LocalControlHeader-">disableLocalControlHeader</a></span>(net.named_data.jndn.Face forwarder, |
| <a href="../../../../com/intel/jndn/management/types/LocalControlHeader.html" title="enum in com.intel.jndn.management.types">LocalControlHeader</a> header)</code> |
| <div class="block">Disable a local control feature on the given forwarder.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#enableLocalControlHeader-net.named_data.jndn.Face-com.intel.jndn.management.types.LocalControlHeader-">enableLocalControlHeader</a></span>(net.named_data.jndn.Face forwarder, |
| <a href="../../../../com/intel/jndn/management/types/LocalControlHeader.html" title="enum in com.intel.jndn.management.types">LocalControlHeader</a> header)</code> |
| <div class="block">Enable a local control feature on the given forwarder.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/intel/jndn/management/types/FaceStatus.html" title="class in com.intel.jndn.management.types">FaceStatus</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#getFaceList-net.named_data.jndn.Face-">getFaceList</a></span>(net.named_data.jndn.Face forwarder)</code> |
| <div class="block">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)</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/intel/jndn/management/types/FibEntry.html" title="class in com.intel.jndn.management.types">FibEntry</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#getFibList-net.named_data.jndn.Face-">getFibList</a></span>(net.named_data.jndn.Face forwarder)</code> |
| <div class="block">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).</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../com/intel/jndn/management/types/ForwarderStatus.html" title="class in com.intel.jndn.management.types">ForwarderStatus</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#getForwarderStatus-net.named_data.jndn.Face-">getForwarderStatus</a></span>(net.named_data.jndn.Face forwarder)</code> |
| <div class="block">Retrieve the status of the given forwarder; calls /localhost/nfd/status |
| which requires a local Face (all non-local packets are dropped)</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static net.named_data.jndn.KeyLocator</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#getKeyLocator-net.named_data.jndn.Face-">getKeyLocator</a></span>(net.named_data.jndn.Face forwarder)</code> |
| <div class="block">Retrieve the <code>KeyLocator</code> for an NFD.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/intel/jndn/management/types/RibEntry.html" title="class in com.intel.jndn.management.types">RibEntry</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#getRouteList-net.named_data.jndn.Face-">getRouteList</a></span>(net.named_data.jndn.Face forwarder)</code> |
| <div class="block">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).</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/intel/jndn/management/types/StrategyChoice.html" title="class in com.intel.jndn.management.types">StrategyChoice</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#getStrategyList-net.named_data.jndn.Face-">getStrategyList</a></span>(net.named_data.jndn.Face forwarder)</code> |
| <div class="block">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).</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#ping-net.named_data.jndn.Face-net.named_data.jndn.Name-">ping</a></span>(net.named_data.jndn.Face face, |
| net.named_data.jndn.Name name)</code> |
| <div class="block">Request a name on an existing face to verify the forwarder is working and |
| responding to requests.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#pingLocal-net.named_data.jndn.Face-">pingLocal</a></span>(net.named_data.jndn.Face face)</code> |
| <div class="block">Ping a forwarder on an existing face to verify that the forwarder is |
| working and responding to requests; this version sends a discovery packet |
| to /localhost/nfd which should always respond if the requestor is on the |
| same machine as the NDN forwarding daemon.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#register-net.named_data.jndn.Face-net.named_data.jndn.ControlParameters-">register</a></span>(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.ControlParameters controlParameters)</code> |
| <div class="block">Register a route on the forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/RibMgmt">http://redmine.named-data.net/projects/nfd/wiki/RibMgmt</a> |
| for protocol documentation.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#register-net.named_data.jndn.Face-int-net.named_data.jndn.Name-int-">register</a></span>(net.named_data.jndn.Face forwarder, |
| int faceId, |
| net.named_data.jndn.Name route, |
| int cost)</code> |
| <div class="block">Register a route on a forwarder; this will not create a new face since it |
| is provided a faceId.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#register-net.named_data.jndn.Face-java.lang.String-net.named_data.jndn.Name-int-">register</a></span>(net.named_data.jndn.Face forwarder, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri, |
| net.named_data.jndn.Name route, |
| int cost)</code> |
| <div class="block">Register a route on a forwarder; this will create a new face on the |
| forwarder to the given URI/route pair.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static net.named_data.jndn.Data</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#retrieveDataSet-net.named_data.jndn.Face-net.named_data.jndn.Name-">retrieveDataSet</a></span>(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name datasetName)</code> |
| <div class="block">Build an interest to retrieve a segmented data set from the NFD; for |
| details on the DataSet, see |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/StatusDataset">http://redmine.named-data.net/projects/nfd/wiki/StatusDataset</a></div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../com/intel/jndn/management/types/ControlResponse.html" title="class in com.intel.jndn.management.types">ControlResponse</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#sendCommand-net.named_data.jndn.Face-net.named_data.jndn.Interest-">sendCommand</a></span>(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Interest interest)</code> |
| <div class="block">Send an interest as a command to the forwarder; this method will convert |
| the interest to a command interest and block until a response is received |
| from the forwarder.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#setStrategy-net.named_data.jndn.Face-net.named_data.jndn.Name-net.named_data.jndn.Name-">setStrategy</a></span>(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name prefix, |
| net.named_data.jndn.Name strategy)</code> |
| <div class="block">Set a strategy on the forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/StrategyChoice">http://redmine.named-data.net/projects/nfd/wiki/StrategyChoice</a> |
| for protocol documentation.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#unregister-net.named_data.jndn.Face-net.named_data.jndn.ControlParameters-">unregister</a></span>(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.ControlParameters controlParameters)</code> |
| <div class="block">Unregister a route on a forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/RibMgmt">http://redmine.named-data.net/projects/nfd/wiki/RibMgmt</a> |
| for protocol documentation.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#unregister-net.named_data.jndn.Face-net.named_data.jndn.Name-">unregister</a></span>(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name route)</code> |
| <div class="block">Unregister a route on a forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/RibMgmt">http://redmine.named-data.net/projects/nfd/wiki/RibMgmt</a> |
| for protocol documentation.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#unregister-net.named_data.jndn.Face-net.named_data.jndn.Name-int-">unregister</a></span>(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name route, |
| int faceId)</code> |
| <div class="block">Unregister a route on a forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/RibMgmt">http://redmine.named-data.net/projects/nfd/wiki/RibMgmt</a> |
| for protocol documentation.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#unregister-net.named_data.jndn.Face-net.named_data.jndn.Name-java.lang.String-">unregister</a></span>(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name route, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri)</code> |
| <div class="block">Unregister a route on a forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/RibMgmt">http://redmine.named-data.net/projects/nfd/wiki/RibMgmt</a> |
| for protocol documentation.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/intel/jndn/management/NFD.html#unsetStrategy-net.named_data.jndn.Face-net.named_data.jndn.Name-">unsetStrategy</a></span>(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name prefix)</code> |
| <div class="block">Set a strategy on the forwarder; see |
| <a href="../../../../com/intel/jndn/management/NFD.html#setStrategy-net.named_data.jndn.Face-net.named_data.jndn.Name-net.named_data.jndn.Name-"><code>setStrategy(net.named_data.jndn.Face, net.named_data.jndn.Name, net.named_data.jndn.Name)</code></a> |
| for more information.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="DEFAULT_TIMEOUT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DEFAULT_TIMEOUT</h4> |
| <pre>public static final long DEFAULT_TIMEOUT</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#com.intel.jndn.management.NFD.DEFAULT_TIMEOUT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="OK_STATUS"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>OK_STATUS</h4> |
| <pre>public static final int OK_STATUS</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#com.intel.jndn.management.NFD.OK_STATUS">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="NFD--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>NFD</h4> |
| <pre>public NFD()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="pingLocal-net.named_data.jndn.Face-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pingLocal</h4> |
| <pre>public static boolean pingLocal(net.named_data.jndn.Face face)</pre> |
| <div class="block">Ping a forwarder on an existing face to verify that the forwarder is |
| working and responding to requests; this version sends a discovery packet |
| to /localhost/nfd which should always respond if the requestor is on the |
| same machine as the NDN forwarding daemon.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>face</code> - only a localhost Face</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if successful, false otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="ping-net.named_data.jndn.Face-net.named_data.jndn.Name-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ping</h4> |
| <pre>public static boolean ping(net.named_data.jndn.Face face, |
| net.named_data.jndn.Name name)</pre> |
| <div class="block">Request a name on an existing face to verify the forwarder is working and |
| responding to requests. Note that the name must be served or cached on the |
| forwarder for this to return true.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>face</code> - a <code>Face</code> to ping</dd> |
| <dd><code>name</code> - a known <code>Name</code> that the remote node will answer to</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if successful, false otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getForwarderStatus-net.named_data.jndn.Face-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getForwarderStatus</h4> |
| <pre>public static <a href="../../../../com/intel/jndn/management/types/ForwarderStatus.html" title="class in com.intel.jndn.management.types">ForwarderStatus</a> getForwarderStatus(net.named_data.jndn.Face forwarder) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException</pre> |
| <div class="block">Retrieve the status of the given forwarder; calls /localhost/nfd/status |
| which requires a local Face (all non-local packets are dropped)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost Face</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the forwarder status object, see |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/ForwarderStatus"> |
| http://redmine.named-data.net/projects/nfd/wiki/ForwarderStatus</a>.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the returned status could not be decoded</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFaceList-net.named_data.jndn.Face-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFaceList</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/intel/jndn/management/types/FaceStatus.html" title="class in com.intel.jndn.management.types">FaceStatus</a>> getFaceList(net.named_data.jndn.Face forwarder) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">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)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost Face</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a list of face status objects, see |
| http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFibList-net.named_data.jndn.Face-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFibList</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/intel/jndn/management/types/FibEntry.html" title="class in com.intel.jndn.management.types">FibEntry</a>> getFibList(net.named_data.jndn.Face forwarder) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">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).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost Face</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a list of FIB entries, see |
| http://redmine.named-data.net/projects/nfd/wiki/FibMgmt#FIB-Dataset.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRouteList-net.named_data.jndn.Face-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRouteList</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/intel/jndn/management/types/RibEntry.html" title="class in com.intel.jndn.management.types">RibEntry</a>> getRouteList(net.named_data.jndn.Face forwarder) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">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).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost Face</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a list of RIB entries, i.e. routes, see |
| http://redmine.named-data.net/projects/nfd/wiki/RibMgmt#RIB-Dataset.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getStrategyList-net.named_data.jndn.Face-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStrategyList</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/intel/jndn/management/types/StrategyChoice.html" title="class in com.intel.jndn.management.types">StrategyChoice</a>> getStrategyList(net.named_data.jndn.Face forwarder) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">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).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost Face</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a list of strategy choice entries, i.e. routes, see |
| http://redmine.named-data.net/projects/nfd/wiki/StrategyChoice.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getKeyLocator-net.named_data.jndn.Face-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getKeyLocator</h4> |
| <pre>public static net.named_data.jndn.KeyLocator getKeyLocator(net.named_data.jndn.Face forwarder) |
| throws <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a>, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Retrieve the <code>KeyLocator</code> for an NFD.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <code>KeyLocator</code> of the NFD's key</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request or no |
| KeyLocator was found</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addNextHop-net.named_data.jndn.Face-int-net.named_data.jndn.Name-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addNextHop</h4> |
| <pre>public static void addNextHop(net.named_data.jndn.Face forwarder, |
| int faceId, |
| net.named_data.jndn.Name prefix) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Helper method to register a new face on the forwarder; as mentioned at |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a>, |
| this is more for debugging; use 'register' instead</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>faceId</code> - the ID of the face to add, see |
| <a href="../../../../com/intel/jndn/management/NFD.html#createFace-net.named_data.jndn.Face-java.lang.String-"><code>createFace(net.named_data.jndn.Face, java.lang.String)</code></a> for |
| creating this</dd> |
| <dd><code>prefix</code> - the <code>Name</code> of the next-hop prefix</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createFace-net.named_data.jndn.Face-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFace</h4> |
| <pre>public static int createFace(net.named_data.jndn.Face forwarder, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Create a new face on the given 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. forwarder.setCommandSigningInfo()).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>uri</code> - a string like "tcp4://host.name.com" (see nfd-status channels |
| for more protocol options)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the newly created face ID</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="destroyFace-net.named_data.jndn.Face-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>destroyFace</h4> |
| <pre>public static void destroyFace(net.named_data.jndn.Face forwarder, |
| int faceId) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Destroy a face on given 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. forwarder.setCommandSigningInfo()).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>faceId</code> - the ID of the face to destroy</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="enableLocalControlHeader-net.named_data.jndn.Face-com.intel.jndn.management.types.LocalControlHeader-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>enableLocalControlHeader</h4> |
| <pre>public static void enableLocalControlHeader(net.named_data.jndn.Face forwarder, |
| <a href="../../../../com/intel/jndn/management/types/LocalControlHeader.html" title="enum in com.intel.jndn.management.types">LocalControlHeader</a> header) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Enable a local control feature on the given forwarder. See |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Enable-a-LocalControlHeader-feature">http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Enable-a-LocalControlHeader-feature</a></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>header</code> - the control feature to enable</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="disableLocalControlHeader-net.named_data.jndn.Face-com.intel.jndn.management.types.LocalControlHeader-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>disableLocalControlHeader</h4> |
| <pre>public static void disableLocalControlHeader(net.named_data.jndn.Face forwarder, |
| <a href="../../../../com/intel/jndn/management/types/LocalControlHeader.html" title="enum in com.intel.jndn.management.types">LocalControlHeader</a> header) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Disable a local control feature on the given forwarder. See |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Disable-a-LocalControlHeader-feature">http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Disable-a-LocalControlHeader-feature</a></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>header</code> - the control feature to disable</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="register-net.named_data.jndn.Face-net.named_data.jndn.ControlParameters-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre>public static void register(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.ControlParameters controlParameters) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Register a route on the forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/RibMgmt">http://redmine.named-data.net/projects/nfd/wiki/RibMgmt</a> |
| for protocol documentation. Ensure the forwarding face is on the local |
| machine (management requests are to /localhost/...) and that command |
| signing has been set up (e.g. forwarder.setCommandSigningInfo()).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>controlParameters</code> - the <code>ControlParameters</code> command options</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="register-net.named_data.jndn.Face-java.lang.String-net.named_data.jndn.Name-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre>public static void register(net.named_data.jndn.Face forwarder, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri, |
| net.named_data.jndn.Name route, |
| int cost) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Register a route on a forwarder; this will create a new face on the |
| forwarder to the given URI/route pair. See register(Face, |
| ControlParameters) for more detailed documentation.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>uri</code> - the URI (e.g. "tcp4://10.10.2.2:6363") of the remote node; note |
| that this must be one of the canonical forms described in the wiki |
| (http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#TCP) for NFD to |
| accept the registration--otherwise you will see 400 errors</dd> |
| <dd><code>route</code> - the <code>Name</code> prefix of the route</dd> |
| <dd><code>cost</code> - the numeric cost of forwarding along the route</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="register-net.named_data.jndn.Face-int-net.named_data.jndn.Name-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre>public static void register(net.named_data.jndn.Face forwarder, |
| int faceId, |
| net.named_data.jndn.Name route, |
| int cost) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Register a route on a forwarder; this will not create a new face since it |
| is provided a faceId. See register(Face, ControlParameters) for full |
| documentation.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>faceId</code> - the ID of the <code>Face</code> to assign to the route</dd> |
| <dd><code>route</code> - the <code>Name</code> prefix of the route</dd> |
| <dd><code>cost</code> - the numeric cost of forwarding along the route</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="unregister-net.named_data.jndn.Face-net.named_data.jndn.ControlParameters-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unregister</h4> |
| <pre>public static void unregister(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.ControlParameters controlParameters) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Unregister a route on a forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/RibMgmt">http://redmine.named-data.net/projects/nfd/wiki/RibMgmt</a> |
| for protocol documentation. Ensure the forwarding face is on the local |
| machine (management requests are to /localhost/...) and that command |
| signing has been set up (e.g. forwarder.setCommandSigningInfo()).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>controlParameters</code> - the <code>ControlParameters</code> command options</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="unregister-net.named_data.jndn.Face-net.named_data.jndn.Name-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unregister</h4> |
| <pre>public static void unregister(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name route) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Unregister a route on a forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/RibMgmt">http://redmine.named-data.net/projects/nfd/wiki/RibMgmt</a> |
| for protocol documentation. Ensure the forwarding face is on the local |
| machine (management requests are to /localhost/...) and that command |
| signing has been set up (e.g. forwarder.setCommandSigningInfo().</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>route</code> - the <code>Name</code> prefix of the route</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="unregister-net.named_data.jndn.Face-net.named_data.jndn.Name-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unregister</h4> |
| <pre>public static void unregister(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name route, |
| int faceId) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Unregister a route on a forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/RibMgmt">http://redmine.named-data.net/projects/nfd/wiki/RibMgmt</a> |
| for protocol documentation. Ensure the forwarding face is on the local |
| machine (management requests are to /localhost/...) and that command |
| signing has been set up (e.g. forwarder.setCommandSigningInfo().</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>route</code> - the <code>Name</code> prefix of the route</dd> |
| <dd><code>faceId</code> - the specific ID of the face to remove (more than one face can |
| be registered to a route)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="unregister-net.named_data.jndn.Face-net.named_data.jndn.Name-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unregister</h4> |
| <pre>public static void unregister(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name route, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Unregister a route on a forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/RibMgmt">http://redmine.named-data.net/projects/nfd/wiki/RibMgmt</a> |
| for protocol documentation. Ensure the forwarding face is on the local |
| machine (management requests are to /localhost/...) and that command |
| signing has been set up (e.g. forwarder.setCommandSigningInfo().</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>route</code> - the <code>Name</code> prefix of the route</dd> |
| <dd><code>uri</code> - the URI (e.g. "tcp4://some.host.com") of the remote node (more |
| than one face can be registered to a route)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setStrategy-net.named_data.jndn.Face-net.named_data.jndn.Name-net.named_data.jndn.Name-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setStrategy</h4> |
| <pre>public static void setStrategy(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name prefix, |
| net.named_data.jndn.Name strategy) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Set a strategy on the forwarder; see |
| <a href="http://named-data.net/doc/NFD/current/manpages/nfdc.html">http://named-data.net/doc/NFD/current/manpages/nfdc.html</a> |
| for command-line usage and |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/StrategyChoice">http://redmine.named-data.net/projects/nfd/wiki/StrategyChoice</a> |
| for protocol documentation. Ensure the forwarding face is on the local |
| machine (management requests are to /localhost/...) and that command |
| signing has been set up (e.g. forwarder.setCommandSigningInfo()).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>prefix</code> - the <code>Name</code> prefix</dd> |
| <dd><code>strategy</code> - the <code>Name</code> of the strategy to set, e.g. |
| /localhost/nfd/strategy/broadcast</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="unsetStrategy-net.named_data.jndn.Face-net.named_data.jndn.Name-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unsetStrategy</h4> |
| <pre>public static void unsetStrategy(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name prefix) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Set a strategy on the forwarder; see |
| <a href="../../../../com/intel/jndn/management/NFD.html#setStrategy-net.named_data.jndn.Face-net.named_data.jndn.Name-net.named_data.jndn.Name-"><code>setStrategy(net.named_data.jndn.Face, net.named_data.jndn.Name, net.named_data.jndn.Name)</code></a> |
| for more information. Ensure the forwarding face is on the local machine |
| (management requests are to /localhost/...) and that command signing has |
| been set up (e.g. forwarder.setCommandSigningInfo()).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost <code>Face</code></dd> |
| <dd><code>prefix</code> - the <code>Name</code> prefix</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the network request failed</dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code> - if the NFD response could not be decoded</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the NFD rejected the request</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="retrieveDataSet-net.named_data.jndn.Face-net.named_data.jndn.Name-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>retrieveDataSet</h4> |
| <pre>public static net.named_data.jndn.Data retrieveDataSet(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Name datasetName) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Build an interest to retrieve a segmented data set from the NFD; for |
| details on the DataSet, see |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/StatusDataset">http://redmine.named-data.net/projects/nfd/wiki/StatusDataset</a></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - the <code>Face</code> to an NFD</dd> |
| <dd><code>datasetName</code> - the <code>Name</code> of the dataset to retrieve</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the re-assembled <code>Data</code> packet</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the request fails</dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code> - if the returned TLV is not the expected type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sendCommand-net.named_data.jndn.Face-net.named_data.jndn.Interest-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>sendCommand</h4> |
| <pre>public static <a href="../../../../com/intel/jndn/management/types/ControlResponse.html" title="class in com.intel.jndn.management.types">ControlResponse</a> sendCommand(net.named_data.jndn.Face forwarder, |
| net.named_data.jndn.Interest interest) |
| throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| net.named_data.jndn.encoding.EncodingException, |
| <a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></pre> |
| <div class="block">Send an interest as a command to the forwarder; this method will convert |
| the interest to a command interest and block until a response is received |
| from the 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. forwarder.setCommandSigningInfo()).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forwarder</code> - only a localhost Face, command signing info must be set</dd> |
| <dd><code>interest</code> - As described at |
| <a href="http://redmine.named-data.net/projects/nfd/wiki/ControlCommand,">http://redmine.named-data.net/projects/nfd/wiki/ControlCommand,</a> |
| the requested interest must have encoded ControlParameters appended to the |
| interest name</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a <a href="../../../../com/intel/jndn/management/types/ControlResponse.html" title="class in com.intel.jndn.management.types"><code>ControlResponse</code></a></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| <dd><code>net.named_data.jndn.encoding.EncodingException</code></dd> |
| <dd><code><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management">ManagementException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/NFD.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../com/intel/jndn/management/ManagementException.html" title="class in com.intel.jndn.management"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../com/intel/jndn/management/Strategies.html" title="class in com.intel.jndn.management"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?com/intel/jndn/management/NFD.html" target="_top">Frames</a></li> |
| <li><a href="NFD.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2015. All rights reserved.</small></p> |
| </body> |
| </html> |