add javadoc to BroadcastEndpoint
Merge pull request #772 from gaohoward/master

add javadoc to BroadcastEndpoint