Package org.platformlayer.core.model

Examples of org.platformlayer.core.model.EndpointInfo.toTag()


          if (Strings.isNullOrEmpty(address)) {
            throw new IllegalStateException();
          }

          EndpointInfo endpoint = new EndpointInfo(address, model.publicPort);
          tagChanges.addTags.add(endpoint.toTag());

          return tagChanges;
        }
      };
View Full Code Here


          if (socketAddress.getPort() != publicPort) {
            throw new IllegalStateException();
          }

          EndpointInfo endpoint = new EndpointInfo(socketAddress);
          tagChanges.addTags.add(endpoint.toTag());
          return tagChanges;
        }
      };

      for (ItemBase tagItem : tagItems) {
View Full Code Here

            throw new OpsException("Cannot find address for instance: " + model.instance);
          }

          TagChanges tagChanges = new TagChanges();
          EndpointInfo endpoint = new EndpointInfo(publicAddress, model.publicPort);
          tagChanges.addTags.add(endpoint.toTag());

          return tagChanges;
        }
      };
      tagger.platformLayerKey = model.getKey();
View Full Code Here

          if (Strings.isNullOrEmpty(address)) {
            throw new IllegalStateException();
          }

          EndpointInfo endpoint = new EndpointInfo(address, model.publicPort);
          tagChanges.addTags.add(endpoint.toTag());

          return tagChanges;
        }
      };
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.