Hello Guilherme,
with the call to getNeighbors() you already were you want to be. The last missing step is to get the "endpoint" of the Nodes you got as list.
The endpoint is a SingletonEndpoint object and contains the address you are looking for.
Kind regards,
Johannes Morgenroth
Am 12.07.2013 01:39, schrieb Guilherme Rolim:
Hello,
I'm coding a application for android based on the DTN Ping example, however, I don't quite understand the use of some classes. For instance, I am trying to get the neighbour list from the DTN app and send a bundle to each neighbour but I don't know how to get their addresses (something like dtn://example). I've managed to get the neighbour list using the getDtnService() getNeighbors() methods from the client, but there was no method to get their addresses.
Could someone explain me the best way to do it? Also, is there any document that may help me understand the dtn api classes?
Thanks in advance,Guilherme rolim
-- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-bs.de> !! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
--
!! This message is brought to you via the `ibr-dtn' mailing list.
!! Please do not reply to this message to unsubscribe. To unsubscribe or adjust
!! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-bs.de>
!! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.