new TCPSupport(delegate)
Provides TCP support functions to network objects. Do not use this object directly.
Parameters:
Name | Type | Description |
---|---|---|
delegate |
external:TCPSupport | The Java delegate for most functions |
- Source:
- See:
Extends
Methods
-
receiveBufferSize(size) → {number|Object}
-
Set or get the receive buffer size
Parameters:
Name Type Argument Description size
number <optional>
If provided, set the value; if not, returns the current value. - Inherited From:
- Source:
Returns:
the value or this- Type
- number | Object
-
reuseAddress(reuse) → {boolean|Object}
-
Set or get the TCP reuse address value
Parameters:
Name Type Argument Description reuse
boolean <optional>
If provided, set the value; if not, returns the current value. - Inherited From:
- Source:
Returns:
the value or this- Type
- boolean | Object
-
sendBufferSize(size) → {number|Object}
-
Set or get the send buffer size
Parameters:
Name Type Argument Description size
number <optional>
If provided, set the value; if not, returns the current value. - Inherited From:
- Source:
Returns:
the value or this- Type
- number | Object
-
soLinger(linger) → {boolean|Object}
-
Set or get the TCP so linger value
Parameters:
Name Type Argument Description linger
boolean <optional>
If provided, set the value; if not, returns the current value. - Source:
Returns:
the value or this- Type
- boolean | Object
-
tcpKeepAlive(keepAlive) → {boolean|Object}
-
Set or get the TCP keep-alive value
Parameters:
Name Type Argument Description keepAlive
boolean <optional>
If provided, set the value; if not, returns the current value. - Source:
Returns:
the value or this- Type
- boolean | Object
-
tcpNoDelay(nodelay) → {boolean|Object}
-
Set or get the TCP no delay value.
Parameters:
Name Type Argument Description nodelay
boolean <optional>
If provided, set the value; if not, returns the current value. - Source:
Returns:
the value or this- Type
- boolean | Object
-
trafficClass(class) → {number|Object}
-
Set or get the TCP traffic class
Parameters:
Name Type Argument Description class
number <optional>
If provided, set the value; if not, returns the current value. - Inherited From:
- Source:
Returns:
the value or this- Type
- number | Object
-
usePooledBuffers(use) → {boolean|Object}
-
Set or get if vertx should use pooled buffers for performance reasons. Doing so will give the best throughput but may need a bit higher memory footprint.
Parameters:
Name Type Argument Description use
boolean <optional>
If provided, set the value; if not, returns the current value. - Source:
Returns:
the value or this- Type
- boolean | Object