<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,all</div><div>   I am new in ndnSIM and met with some problems recently.</div><div>   Assume that I defined a class " Student " and want to attach an instantiation named " newStudent " of  the "Student" class as the payload of a Data packet.</div><div>   I wonder what should I do to set this instantiation as the payload of the Data packet so that  in other nodes  I can get the payload just as what it originally is,i.e.,"newStudent" , so that I can do some operations on the "newStudent".</div><div>I have tried on the API documentation but not found the solutions using "Data::setpayload()" and "Data::getpayload()".</div><div>  Thank you very much!</div><div>  Best regards,</div><div>  Xin Zhang<br></div></div><br><br><span title="neteasefooter"><p> </p></span>