if data transfer take long time, client with buslistener would call lostAdvertisedName,
transfer by session-signal.
and when client call lostAdvertisedName, i find service still have session, never lost, because in my code, service have SessionListener(sessionLost, sessionMemberAdded, sessionMemberRemoved), but service never call them.
I already fix it, add check ALLJOYN_JOINSESSION_REPLY_ALREADY_JOINED when joinsession,
lostAdvertisedName look like nothing effect, can i igore it?
because i find when lostAdvertisedName called, client spend long time to found again and join session, it is bad, how deal with the case, such as when lostAdvertisedName called, client could call
findAdvertisedName , and this can let client quickly found again and join session?
- i don't understand, there busattachment has function setLinkTimeout, but my code not call it. for client: buslistener-lostAdvertisedName vs SessionListener-sessionLost, their relationship? someone can help to explain it? thanks!