java.lang.Object
swim.io.IpSettings
- All Implemented Interfaces:
Debug
IP Socket configuration parameters.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if theseIpSettings
can possibly equal someother
object.void
Configures thesocket
with theseIpSettings
.protected IpSettings
copy
(TcpSettings tcpSettings, TlsSettings tlsSettings) Returns a newIpSettings
instance with the given options.static IpSettings
create
(TcpSettings tcpSettings) static IpSettings
create
(TlsSettings tlsSettings) <T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
static Form<IpSettings>
form()
Returns the structuralForm
ofIpSettings
.int
hashCode()
static IpSettings
standard()
Returns the defaultIpSettings
instance.Returns the TCP socket configuration.tcpSettings
(TcpSettings tcpSettings) Returns a copy of theseIpSettings
configured with the giventcpSettings
.Returns the TLS socket configuration.tlsSettings
(TlsSettings tlsSettings) Returns a copy of theseIpSettings
configured with the giventlsSettings
.toString()
toValue()
Returns a structuralValue
representing theseIpSettings
.
-
Field Details
-
tcpSettings
-
tlsSettings
-
-
Constructor Details
-
IpSettings
-
-
Method Details
-
tcpSettings
Returns the TCP socket configuration. -
tcpSettings
Returns a copy of theseIpSettings
configured with the giventcpSettings
. -
tlsSettings
Returns the TLS socket configuration. -
tlsSettings
Returns a copy of theseIpSettings
configured with the giventlsSettings
. -
copy
Returns a newIpSettings
instance with the given options. Subclasses may override this method to ensure the proper class is instantiated when updating settings. -
configure
Configures thesocket
with theseIpSettings
.- Throws:
SocketException
-
toValue
Returns a structuralValue
representing theseIpSettings
. -
canEqual
Returnstrue
if theseIpSettings
can possibly equal someother
object. -
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
standard
Returns the defaultIpSettings
instance. -
create
-
create
-
form
Returns the structuralForm
ofIpSettings
.
-