Package org.jgroups.tests
Class mcast
java.lang.Object
org.jgroups.tests.mcast
Tests IP multicast.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InetAddressprotected static final booleanprotected static final StackTypeprotected final intprotected InetAddressprotected intprotected static final ProtocolFamilyprotected DatagramSocketprotected final int -
Constructor Summary
ConstructorsConstructorDescriptionmcast(InetAddress bind_addr, int local_port, InetAddress mcast_addr, int mcast_port, int ttl) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbindToInterfaces(List<NetworkInterface> interfaces, MulticastSocket s) (package private) static voidhelp()static voidprotected voidstart()
-
Field Details
-
sock
-
mcast_addr
-
bind_addr
-
mcast_port
protected int mcast_port -
local_port
protected final int local_port -
ttl
protected final int ttl -
can_bind_to_mcast_addr
protected static final boolean can_bind_to_mcast_addr -
ip_version
-
prot_family
-
-
Constructor Details
-
mcast
public mcast(InetAddress bind_addr, int local_port, InetAddress mcast_addr, int mcast_port, int ttl)
-
-
Method Details