Ejemplo n.º 1
0
 /**
  * Returns a list of all local objects for a specific client.
  *
  * @param ci the client for the client in question
  * @return LocalObjectList the list of local objects for this client that the server knows of
  */
 public LocalObjectList getLocalObjectList(ClientInfo ci) {
   if (!client2LocalObj.containsKey(ci)) {
     LocalObjectList lol = new LocalObjectList();
     client2LocalObj.put(ci, lol);
   }
   return (LocalObjectList) client2LocalObj.get(ci);
 }