Examples of IdentityRemovedEvent


Examples of net.pterodactylus.sone.freenet.wot.event.IdentityRemovedEvent

          /* find removed identities. */
          if (oldIdentities.containsKey(ownIdentity)) {
            for (Identity oldIdentity : oldIdentities.get(ownIdentity).values()) {
              if (!currentIdentities.get(ownIdentity).containsKey(oldIdentity.getId())) {
                logger.finest(String.format("Identity removed for %s: %s", ownIdentity.getId(), oldIdentity));
                eventBus.post(new IdentityRemovedEvent(ownIdentity, oldIdentity));
              }
            }

            /* check for changes in the contexts. */
            for (Identity oldIdentity : oldIdentities.get(ownIdentity).values()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.