Esempio n. 1
0
 public void handle(String msg, int tes) // fungsi print message & exit jika ada command exit
     {
   String dMsg = cryptor.decrypt(msg);
   if (dMsg.equals(".bye")) {
     System.out.println("Good bye. Press RETURN to exit ...");
     stop();
   } else // edited
   {
     System.out.println("Client" + tes + " : " + dMsg);
     System.out.println("(" + msg + ")");
     System.out.println();
   }
 }