Added needed methods to IClientConnection.java.