Revision history [back]

click to hide/show revision 1
initial version

what data stored in sessionMap

I read some source codes of alljoyn and there are some confuses. sessionMap.insert(pair<pair<string, sessionid="">, SessionMapEntry>(key, sme)); 1. what String means in the above code line, dose it stand for the joiner's name ? and what's the meaning of the data stored in the sessionMap ? 2. why dose the code to check if a creator of a session is joining itself check the sessionid == 0 ? what means if the sessionid == 0 in the sessionMap ? 3. why dose add two entries when join a session ?(creator side entry and joiner side entry), and what are the functions of the two entries ?

what data stored in sessionMap

I read some source codes of alljoyn and there are some confuses. confusion. sessionMap.insert(pair<pair<string, sessionid="">, SessionMapEntry>(key, sme)); 1. what String means in the above code line, dose it stand for the joiner's name ? and what's the meaning of the data stored in the sessionMap ? 2. why dose the code to check if a creator of a session is joining itself check the sessionid == 0 ? what means if the sessionid == 0 in the sessionMap ? 3. why dose add two entries when join a session ?(creator side entry and joiner side entry), and what are the functions of the two entries ?