Example #1
0
 public void streamClosedReceived(String result, int id, String message) {
   Flooder flooder = null;
   synchronized (_remotePeers) {
     flooder = (Flooder) _remotePeers.remove(new Integer(id));
   }
   if (flooder != null) {
     flooder.closed();
     _log.debug(
         "Connection " + flooder.getConnectionId() + " closed to " + flooder.getDestination());
   } else {
     _log.error("not connected to " + id + " but we were just closed?");
   }
 }