Merge pull request #112 from jitsi/so-rcvbuf-public
ref: Makes the single port recv buffer sysprop public.
This commit is contained in:
commit
dffdf0cbc8
@ -43,6 +43,14 @@ import java.util.logging.Logger;
|
|||||||
*/
|
*/
|
||||||
public abstract class AbstractUdpListener
|
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.
|
* Our class logger.
|
||||||
*/
|
*/
|
||||||
@ -64,14 +72,6 @@ public abstract class AbstractUdpListener
|
|||||||
*/
|
*/
|
||||||
private static final int POOL_SIZE = 256;
|
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
|
* Returns the list of {@link TransportAddress}es, one for each allowed IP
|
||||||
* address found on each allowed network interface, with the given port.
|
* address found on each allowed network interface, with the given port.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user