Пример #1
0
 public void close() {
   while (clients.elements().hasMoreElements())
     try {
       ((RFBClient) clients.elements().nextElement()).close();
     } catch (IOException e) {
       // TODO Auto-generated catch block
       e.printStackTrace();
     }
 }
Пример #2
0
 public RFBClient getClientForView(View view) {
   // TODO FIXME!
   if (clients.elements().hasMoreElements()) return (RFBClient) clients.elements().nextElement();
   else return null;
 }