public final class MulticastTimeToLive extends Object implements InvocationConstraint, Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_TIME_TO_LIVE
The maximum permissible time to live value.
|
| Constructor and Description |
|---|
MulticastTimeToLive(int ttl)
Creates a
MulticastTimeToLive constraint for the given time
to live value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getTimeToLive()
Returns the time to live value.
|
int |
hashCode() |
String |
toString() |
public static final int MAX_TIME_TO_LIVE
public MulticastTimeToLive(int ttl)
MulticastTimeToLive constraint for the given time
to live value.ttl - the time to live valueIllegalArgumentException - if the given value is negative or
greater than MAX_TIME_TO_LIVE.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.