public class Probe extends Object
Modifier and Type | Field and Description |
---|---|
protected MulticastSocket |
mcast_sock |
protected boolean |
running |
protected Set<String> |
senders |
Constructor and Description |
---|
Probe() |
Modifier and Type | Method and Description |
---|---|
protected static Collection<InetAddress> |
getPhysicalAddresses(InetAddress addr,
InetAddress bind_addr,
int port,
long timeout) |
static void |
main(String[] args) |
protected static Collection<InetAddress> |
parseAddresses(String input) |
protected void |
sendRequest(InetAddress addr,
InetAddress bind_addr,
int port,
int ttl,
List<String> query,
String passcode) |
void |
start(List<InetAddress> addrs,
InetAddress bind_addr,
int port,
int ttl,
long timeout,
List<String> query,
String match,
boolean weed_out_duplicates,
String passcode) |
protected MulticastSocket mcast_sock
protected volatile boolean running
public void start(List<InetAddress> addrs, InetAddress bind_addr, int port, int ttl, long timeout, List<String> query, String match, boolean weed_out_duplicates, String passcode) throws Exception
Exception
protected static Collection<InetAddress> getPhysicalAddresses(InetAddress addr, InetAddress bind_addr, int port, long timeout) throws Exception
Exception
protected static Collection<InetAddress> parseAddresses(String input) throws Exception
Exception
protected void sendRequest(InetAddress addr, InetAddress bind_addr, int port, int ttl, List<String> query, String passcode) throws Exception
Exception
public static void main(String[] args)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.