public final class MulticastMaxPacketSize extends Object implements InvocationConstraint, Serializable
Modifier and Type | Field and Description |
---|---|
static int |
MIN_MAX_PACKET_SIZE
The minimum allowable multicast packet size limit.
|
Constructor and Description |
---|
MulticastMaxPacketSize(int size)
Creates a
MulticastMaxPacketSize constraint for the given
multicast packet size limit. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getSize()
Returns the multicast packet size limit.
|
int |
hashCode() |
String |
toString() |
public static final int MIN_MAX_PACKET_SIZE
public MulticastMaxPacketSize(int size)
MulticastMaxPacketSize
constraint for the given
multicast packet size limit.size
- the multicast packet size limitIllegalArgumentException
- if the given size is less than
MIN_MAX_PACKET_SIZE
.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.