<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Wang,</div><div><br></div><div>From the channel you can get pointer to NetDevice (channel->GetDevice(x)).  Using netdevice pointer you can get pointer to the face, using GetFaceByNetDevice method from ndn::L3Protocol (<a href="http://ndnsim.net/doxygen/classns3_1_1ndn_1_1_l3_protocol.html#ad85486f42dff1d171f59af519079615f">http://ndnsim.net/doxygen/classns3_1_1ndn_1_1_l3_protocol.html#ad85486f42dff1d171f59af519079615f</a>)</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Sep 9, 2013, at 7:01 PM, ndnSIM_beginner  <<a href="mailto:ndnsim_beginner@163.com">ndnsim_beginner@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; ">Hi Alex<div><pre style="line-height: normal; "><i>Thank you very much! </i></pre><pre style="line-height: normal; "><i>I have read the advice you gave me .It gives me a lot of inspiration.</i></pre><pre style="line-height: normal; "><i>I have known how to get devices through nodes ,and how to get channels through devices.</i></pre><pre><i><span style="line-height: normal;">By the way,how can I get Faces through channel. </span></i><span style="line-height: normal;">
</span></pre><pre><pre style="line-height: normal; "><i>Thank you in advance.</i></pre>Wang</pre><br><br><br><br><div></div><div id="divNeteaseMailCard"></div><br>At 2013-09-06 11:53:57,"Alex Afanasyev" <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div>Hi!</div><div><br></div><div>You can try to check the old thread <a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-March/000238.html">http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-March/000238.html</a>, which may be helpful for you to get an idea how to proceed.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Sep 5, 2013, at 12:01 AM, ndnSIM_beginner <<a href="mailto:ndnsim_beginner@163.com">ndnsim_beginner@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; !
 "><div><span left-pos="0|15" right-pos="0|15" space="" class="" style="color: rgb(51, 51, 51); line-height: 22px; "><pre style="line-height: 23px; "> Hello Alex,</pre></span></div><span left-pos="0|15" right-pos="0|15" space="" class="" style="color: rgb(51, 51, 51); line-height: 22px; ">Hello,I am a beginner and my English is not good,</span><div><span left-pos="0|15" right-pos="0|15" space="" class="" style="color: rgb(51, 51, 51); line-height: 22px; "><span left-pos="0|6" right-pos="0|6" space="" class="">I</span> want to achieve</span><span left-pos="15|6" right-pos="15|6" space="0| " class="" style="color: rgb(51, 51, 51); line-height: 22px; "> a set of</span><span left-pos="21|12" right-pos="21|12" space="0| " class="" style="color: rgb(51, 51, 51); line-height: 22px; "> node cooperative</span><span left-pos="33|6" right-pos="33|6" space="0| " class="" style="color: rgb(51, 51, 51); line-height: 22px; "> store.It means that</span><span left-pos="15!
 0|3" right-pos="150|3" space="" class="" style="color: rgb(51, 51, 51); line-height: 22px; ">
if a node want to store a content,it will send  packets to its neighbor nodes.if the content in the neighbor nodes,the node can't store the content. </span><div><span left-pos="153|6" right-pos="153|6" space="0| " class="" style="color: rgb(51, 51, 51); line-height: 22px; ">But I don't</span><span left-pos="168|18" right-pos="168|18" space="0| " class="" style="color: rgb(51, 51, 51); line-height: 22px; "> know how to get</span><span left-pos="186|6" right-pos="186|6" space="0| " class="" style="color: rgb(51, 51, 51); line-height: 22px; "> around the</span><span left-pos="192|9" right-pos="192|9" space="0| " class="" style="color: rgb(51, 51, 51); line-height: 22px; "> node </span><span left-pos="201|6" right-pos="201|6" space="0| " class="" style="color: rgb(51, 51, 51); line-height: 22px; ">interface now</span><span left-pos="207|3" right-pos="207|3" space="" class="" style="color: rgb(51, 51, 51); line-height: 22px; ">.Please give some advic!
 e.</span>
 </div><div><span left-pos="207|3" right-pos="207|3" space="" class="" style="color: rgb(51, 51, 51); line-height: 22px; "><pre style="line-height: 23px; "> Thanks in advance</pre></span></div></div></div></blockquote></div><br></blockquote></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></blockquote></div><br></body></html>