Network Related Events
msc_inline_mscgraph_1
  1. A PEER_INITIATED_CONNECT event is raised by the network service for one of the peers that initiated the connection.
  2. On recving a PEER_INITIATED_CONNECT, a PEERHELLO message is sent to the other peer.
  3. On recving a PEERHELLO message, a PEER_CONNECT event is raised. A PEERHELLOOK is sent back.
  4. On recving a PEERHELLOOK message, a PEER_CONNECT event is raised.
  5. Both peers are now connected
  6. On recving a PEER_CONNECT event,
    • if the Peer is a trusted peer, a PEERINFO message with our peer details is exchanged beteen peers using some GROUP authorization.
    • for all groups this peer is a member of a SYNCGROUPLIST message is sent
    • any pending group invitations are sent
  7. On recving a SYNCGROUPLIST message,
    • if the Peer is part of the group, a APPLYGROUPLIST message is sent with group delta records.
    • if the Peer is not part of the group, a UNKNOWNGROUP message is sent
  8. On recving a UNKOWNGROUP message
    • a peer cleans up its associated of the peer with that group
  9. On recving a APPLYGROUPLIST message
    • a peer applies the detla list of records to the groups to become up to date
    • for new peers found in the group, it will connect to them

Generated on Wed Oct 12 2011 21:46:52. © CodeLathe LLC 2007-2011. All Rights Reserved.