/** {@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); }
/** {@inheritDoc} */ @Override public boolean endPointSubmitted() { return spanstate.getEndPoint() != null; }