Package jade.util

Examples of jade.util.TransportAddressWrapper


      myLogger.log(Logger.INFO, "Removing replica <" + address + "> from the platform");
    }

    // Remove the old replica
    try {
      TransportAddressWrapper key = TransportAddressWrapper.getWrapper(address, myIMTPManager);
      if (replicas.remove(key) == null) {
        // The replica to remove is not among the known replicas --> Print a warning since this should never happen
        StringBuffer sb = new StringBuffer("Replica "+key.hashCode()+", "+key.getAddress()+"not found! Known replicas are: {");
        Iterator it = replicas.keySet().iterator();
        while (it.hasNext()) {
          TransportAddressWrapper taw = (TransportAddressWrapper) it.next();
          sb.append(""+taw.hashCode()+", "+taw.getAddress());
          if (it.hasNext()) {
            sb.append("; ");
          }
        }
        sb.append("}");
View Full Code Here

TOP

Related Classes of jade.util.TransportAddressWrapper

Copyright © 2018 www.massapicom. 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.