public class

MulticastRouteTester

extends Object
implements Runnable
java.lang.Object
   ↳ com.atlassian.confluence.util.MulticastRouteTester

Class Overview

A class for performing diagnostics on the multicast routing table of the current host

Summary

Nested Classes
class MulticastRouteTester.Log4JReporter Log4J reporting strategy  
interface MulticastRouteTester.TestReporter Reporting strategy interface for reporting problems encountered during the test  
Public Constructors
MulticastRouteTester(InetAddress multicastGroup, NetworkInterface iface, int port)
Construct a multicast test for the specified network address, interface and port
MulticastRouteTester(InetAddress multicastGroup, NetworkInterface iface, int port, MulticastRouteTester.TestReporter testReporter)
Allows the test to be conducted and reported via the provided reporter delegate.
Public Methods
boolean isSuccessful()
void run()
boolean test(InetAddress multicastGroup, NetworkInterface iface, int port)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Runnable

Public Constructors

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 with
iface Interface to bind multicast test port
port UDP port for multicast test

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 with
iface Interface to bind multicast test port
port UDP port for multicast test
testReporter Reporter for collecting problems encountered during the test

Public Methods

public boolean isSuccessful ()

public void run ()

public boolean test (InetAddress multicastGroup, NetworkInterface iface, int port)

Throws
IOException