Home | History | Annotate | Download | only in header

Lines Matching refs:TTL

75     /** The "TTL" parameter is designating the time-to-live value.
77 public static final String TTL = ParameterNames.TTL;
422 * Returns the value of the ttl parameter, or -1 if this is not set.
424 * @return the integer value of the <code>ttl</code> parameter
427 int ttl = getParameterAsInt(ParameterNames.TTL);
428 return ttl;
432 * Sets the value of the ttl parameter. The ttl parameter specifies the
435 * @param ttl - new value of the ttl parameter
439 public void setTTL(int ttl) throws InvalidArgumentException {
440 if (ttl < 0 && ttl != -1)
443 + ", Via, setTTL(), the ttl parameter is < 0");
444 setParameter(new NameValue(ParameterNames.TTL, Integer.valueOf(ttl)));