Modifier and Type | Class and Description |
---|---|
static class |
MulticastRouteTester.Log4JReporter
Log4J reporting strategy
|
static interface |
MulticastRouteTester.TestReporter
Reporting strategy interface for reporting problems encountered during the test
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSuccessful() |
void |
run() |
boolean |
test(InetAddress multicastGroup,
NetworkInterface iface,
int port) |
public MulticastRouteTester(InetAddress multicastGroup, NetworkInterface iface, int port)
multicastGroup
- Multicast group to perform testing withiface
- Interface to bind multicast test portport
- UDP port for multicast testpublic MulticastRouteTester(InetAddress multicastGroup, NetworkInterface iface, int port, MulticastRouteTester.TestReporter testReporter)
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 testpublic boolean test(InetAddress multicastGroup, NetworkInterface iface, int port) throws IOException
IOException
public boolean isSuccessful()
Copyright © 2003–2021 Atlassian. All rights reserved.