mongodb/mongo-java-driver — pull request #268 by jyemin (2014-10-19 21:24:09+00:00)
Title: JAVA-1510: Added protocol methods to Connection

so that operations no longer have to construct instances of Protocol directly.

Introduced ConnectionFactory interface to make it possible to unit test DefaultServer exception handling