Ejemplo n.º 1
0
  /** {@inheritDoc} */
  @Override
  public void submit(final String ip, final int port, final String serviceName) {

    final int ipv4 = ipAddressToInt(ip);
    final Endpoint endpoint = new Endpoint(ipv4, (short) port, serviceName);

    spanstate.setEndPoint(endpoint);
  }
Ejemplo n.º 2
0
 /** {@inheritDoc} */
 @Override
 public boolean endPointSubmitted() {
   return spanstate.getEndPoint() != null;
 }