public class mcast extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
mcast.Receiver |
Modifier and Type | Field and Description |
---|---|
protected InetAddress |
bind_addr |
protected static boolean |
can_bind_to_mcast_addr |
protected static StackType |
ip_version |
protected int |
local_port |
protected InetAddress |
mcast_addr |
protected int |
mcast_port |
protected static ProtocolFamily |
prot_family |
protected DatagramSocket |
sock |
protected int |
ttl |
Constructor and Description |
---|
mcast(InetAddress bind_addr,
int local_port,
InetAddress mcast_addr,
int mcast_port,
int ttl) |
Modifier and Type | Method and Description |
---|---|
protected void |
bindToInterfaces(List<NetworkInterface> interfaces,
MulticastSocket s) |
static void |
main(String[] args) |
protected void |
start() |
protected DatagramSocket sock
protected InetAddress mcast_addr
protected InetAddress bind_addr
protected int mcast_port
protected final int local_port
protected final int ttl
protected static final boolean can_bind_to_mcast_addr
protected static final StackType ip_version
protected static final ProtocolFamily prot_family
public mcast(InetAddress bind_addr, int local_port, InetAddress mcast_addr, int mcast_port, int ttl)
protected void bindToInterfaces(List<NetworkInterface> interfaces, MulticastSocket s)
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.