/** * Called by the lookupListener's notify() method * * @param theEvent */ private void notifyServiceMap(ServiceEvent theEvent){ if (theEvent.getSource() == null) { return; } if (ServiceDiscoveryManager.logger.isLoggable(Level.FINE)){ ServiceDiscoveryManager.log( Level.FINE, "HandleServiceEventTask submitted" ); } incomingEventExecutor.submit(new HandleServiceEventTask(this, theEvent)); }
transition); sBuffer.append(", source=").append(getSource()).append( ", eventID=").append(getID()).append( ", seqNum=").append(getSequenceNumber()).append(
public void notify(RemoteEvent evt) { ServiceEvent theEvent = (ServiceEvent) evt; notifyServiceMap(theEvent.getSource(), theEvent.getID(), theEvent.getSequenceNumber(), theEvent.getServiceID(), theEvent.getServiceItem(), theEvent.getTransition()); }//end notify
Map.Entry<ProxyReg, EventReg> e = iter.next(); eReg = e.getValue(); if (theEvent.getID() == eReg.eventID && theEvent.getSource().equals(eReg.source)) { reg = e.getKey(); break FIND_ProxyReg;