CodePaste Logo
New Snippet New Recent Snippets Recent Snippets My Snippets My Snippets My Favorites Favorites Web Code Search Snippets Search
Sign inor Register
Language: java

server reads an object second time

69 Views   
ClientObject clientO; while( ( clientO = (ClientObject) receive.readObject()) != null ){ counterMessage++; if( counterMessage==1) { checkAccountIfExist(toWrite,file.exists(),toModify,clientO); // Check is connected account exist in database of server } // end of if (counter==1) else{ System.out.println("Counter = " + counterMessage + " BUDDYREQUEST : " + clientO.isBuddyRequest() + " BUDDY_NAME : " + clientO.getUserName()); if(clientO.isBuddyRequest()){ System.out.println("GIRDI"); checkBuddyAvalaible(clientO); } } }
by quartaela
  March 27, 2013 @ 12:44pm
Add a comment


Report Abuse
brought to you by:
West Wind Techologies