Package com.atlassian.confluence.util
Class MulticastRouteTester
- java.lang.Object
 - 
- com.atlassian.confluence.util.MulticastRouteTester
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMulticastRouteTester.Log4JReporterLog4J reporting strategystatic interfaceMulticastRouteTester.TestReporterReporting strategy interface for reporting problems encountered during the test 
- 
Constructor Summary
Constructors Constructor Description MulticastRouteTester(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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSuccessful()voidrun()booleantest(InetAddress multicastGroup, NetworkInterface iface, int port) 
 - 
 
- 
- 
Constructor Detail
- 
MulticastRouteTester
public MulticastRouteTester(InetAddress multicastGroup, NetworkInterface iface, int port)
Construct a multicast test for the specified network address, interface and port- Parameters:
 multicastGroup- Multicast group to perform testing withiface- Interface to bind multicast test portport- UDP port for multicast test
 
- 
MulticastRouteTester
public 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 withiface- Interface to bind multicast test portport- UDP port for multicast testtestReporter- Reporter for collecting problems encountered during the test
 
 - 
 
- 
Method Detail
- 
test
public boolean test(InetAddress multicastGroup, NetworkInterface iface, int port) throws IOException
- Throws:
 IOException
 
- 
isSuccessful
public boolean isSuccessful()
 
 - 
 
 -