Update ServerCommunication.java

changed method names