P2protocol, P1protocol, Javadoc and analyze