public class AnnounceGroup extends Object
Constructor and Description |
---|
AnnounceGroup(InetSocketAddress address,
int timeToLive) |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getAddress() |
int |
getTimeToLive() |
public AnnounceGroup(InetSocketAddress address, int timeToLive)
address
- IP4 or IP6 multicast addresstimeToLive
- IP_MULTICAST_TTL socket option.
Minimal value is 1; increase to allow a broader announce scope, than the local subnet.public InetSocketAddress getAddress()
public int getTimeToLive()
Copyright © 2016–2021. All rights reserved.