21 Feb
2014
21 Feb
'14
5:45 p.m.
Hello Jawad.
Am 21.02.2014 15:48, schrieb Jawad Seddar:
Session s = client.getSession(); <-- program hangs here
This call blocks until a valid session is available. You can disable the blocking by calling client.getSession(false). But this do not solve the issue that your application registration does not work.
Without the complete code or a magic 8 ball I can not tell you more. Check twice if you do the registration the same way it is done in the example app and do not create the DTNClient twice in the same application.
Kind regards, Johannes Morgenroth
--
Johannes Morgenroth Institut fuer Betriebssysteme und Rechnerverbund
Tel.: +49-531-391-3249 Muehlenpfordtstrasse 23
Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig