Beispiel #1
0
 private synchronized void sendMessage(BoggleMessage m) {
   try {
     if (out != null) {
       out.write(m.toString());
       out.write('\n');
       out.flush();
     }
   } catch (java.io.IOException e) {
     displayText("Cannot contact server.");
   }
 }