Module io.helidon.common.socket
Package io.helidon.common.socket
Class SocketOptions.BuilderBase.SocketOptionsImpl
java.lang.Object
io.helidon.common.socket.SocketOptions.BuilderBase.SocketOptionsImpl
- All Implemented Interfaces:
Prototype.Api
,SocketOptions
- Enclosing class:
SocketOptions.BuilderBase<BUILDER extends SocketOptions.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SocketOptions>
protected static class SocketOptions.BuilderBase.SocketOptionsImpl
extends Object
implements SocketOptions
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.common.socket.SocketOptions
SocketOptions.Builder, SocketOptions.BuilderBase<BUILDER extends SocketOptions.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SocketOptions> -
Constructor Summary
ModifierConstructorDescriptionprotected
SocketOptionsImpl
(SocketOptions.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptiondefault void
configureSocket
(Socket socket) Configure socket with defined socket options.boolean
int
hashCode()
boolean
Map
<SocketOption<?>, Object> boolean
boolean
toString()
-
Constructor Details
-
SocketOptionsImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
socketOptions
-
connectTimeout
-
readTimeout
-
socketReceiveBufferSize
-
socketSendBufferSize
-
socketReuseAddress
public boolean socketReuseAddress() -
socketKeepAlive
public boolean socketKeepAlive() -
tcpNoDelay
public boolean tcpNoDelay() -
toString
-
equals
-
hashCode
public int hashCode() -
configureSocket
Configure socket with defined socket options.- Parameters:
socket
- socket to update
-