Peer Event handling code added.