update Javadoc for peer-to-peer sample