ref: Makes the single port recv buffer sysprop public.

This commit is contained in:
George Politis 2017-04-20 10:26:39 -05:00
parent b3c304146b
commit f9eded5078

View File

@ -43,6 +43,14 @@ import java.util.logging.Logger;
*/
public abstract class AbstractUdpListener
{
/**
* The name of the property which controls the size of the receive buffer
* which {@link SinglePortUdpHarvester} will request for the sockets that
* it creates.
*/
public static final String SO_RCVBUF_PNAME
= AbstractUdpListener.class.getName() + ".SO_RCVBUF";
/**
* Our class logger.
*/
@ -64,14 +72,6 @@ public abstract class AbstractUdpListener
*/
private static final int POOL_SIZE = 256;
/**
* The name of the property which controls the size of the receive buffer
* which {@link SinglePortUdpHarvester} will request for the sockets that
* it creates.
*/
private static final String SO_RCVBUF_PNAME
= AbstractUdpListener.class.getName() + ".SO_RCVBUF";
/**
* Returns the list of {@link TransportAddress}es, one for each allowed IP
* address found on each allowed network interface, with the given port.