private void initCommunication() {
Communicate communicate = new Communicate(socket);
try {
communicate.send("316, vou te enviar a pasta e os arquivos");
communicate.send(Constants.CURRENT_DIR+Constants.FILE_SEPARATOR+"GerenteDigital.jar");
communicate.sendObject(new ListFilestoDownloadThroughCompareofMD5().getListOfFilesFromServer(Constants.CURRENT_DIR+Constants.FILE_SEPARATOR+"GerenteDigital.jar"));
if (communicate.receive().equals("317")){
communicate.send("318, Me mande os arquivos para atualizar");
List<FileDescriptorMD5> listOfFilesfromClientToBeUpdated = (List<FileDescriptorMD5>) communicate.receiveObject();
for (FileDescriptorMD5 filetoUpdate : listOfFilesfromClientToBeUpdated){
communicate.send("319, Enviando Arquivo: "