Package com.atlassian.confluence.util
Class MulticastRouteTester
java.lang.Object
com.atlassian.confluence.util.MulticastRouteTester
- All Implemented Interfaces:
- Runnable
A class for performing diagnostics on the multicast routing table of the current host
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classLog4J reporting strategystatic interfaceReporting strategy interface for reporting problems encountered during the test
- 
Constructor SummaryConstructorsConstructorDescriptionMulticastRouteTester(InetAddress multicastGroup, NetworkInterface iface, int port) Construct a multicast test for the specified network address, interface and portMulticastRouteTester(InetAddress multicastGroup, NetworkInterface iface, int port, MulticastRouteTester.TestReporter testReporter) Allows the test to be conducted and reported via the provided reporter delegate.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidrun()booleantest(InetAddress multicastGroup, NetworkInterface iface, int port) 
- 
Constructor Details- 
MulticastRouteTesterConstruct a multicast test for the specified network address, interface and port- Parameters:
- multicastGroup- Multicast group to perform testing with
- iface- Interface to bind multicast test port
- port- UDP port for multicast test
 
- 
MulticastRouteTesterpublic MulticastRouteTester(InetAddress multicastGroup, NetworkInterface iface, int port, MulticastRouteTester.TestReporter testReporter) Allows the test to be conducted and reported via the provided reporter delegate. Useful for reporting results via UI.- Parameters:
- multicastGroup- Multicast group to perform testing with
- iface- Interface to bind multicast test port
- port- UDP port for multicast test
- testReporter- Reporter for collecting problems encountered during the test
 
 
- 
- 
Method Details- 
runpublic void run()
- 
testpublic boolean test(InetAddress multicastGroup, NetworkInterface iface, int port) throws IOException - Throws:
- IOException
 
- 
isSuccessfulpublic boolean isSuccessful()
 
-