java.lang.Object
swim.io.IpSettings
- All Implemented Interfaces:
Debug
IP Socket configuration parameters.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif theseIpSettingscan possibly equal someotherobject.voidConfigures thesocketwith theseIpSettings.protected IpSettingscopy(TcpSettings tcpSettings, TlsSettings tlsSettings) Returns a newIpSettingsinstance with the given options.static IpSettingscreate(TcpSettings tcpSettings) static IpSettingscreate(TlsSettings tlsSettings) <T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.booleanstatic Form<IpSettings>form()Returns the structuralFormofIpSettings.inthashCode()static IpSettingsstandard()Returns the defaultIpSettingsinstance.Returns the TCP socket configuration.tcpSettings(TcpSettings tcpSettings) Returns a copy of theseIpSettingsconfigured with the giventcpSettings.Returns the TLS socket configuration.tlsSettings(TlsSettings tlsSettings) Returns a copy of theseIpSettingsconfigured with the giventlsSettings.toString()toValue()Returns a structuralValuerepresenting theseIpSettings.
-
Field Details
-
tcpSettings
-
tlsSettings
-
-
Constructor Details
-
IpSettings
-
-
Method Details
-
tcpSettings
Returns the TCP socket configuration. -
tcpSettings
Returns a copy of theseIpSettingsconfigured with the giventcpSettings. -
tlsSettings
Returns the TLS socket configuration. -
tlsSettings
Returns a copy of theseIpSettingsconfigured with the giventlsSettings. -
copy
Returns a newIpSettingsinstance with the given options. Subclasses may override this method to ensure the proper class is instantiated when updating settings. -
configure
Configures thesocketwith theseIpSettings.- Throws:
SocketException
-
toValue
Returns a structuralValuerepresenting theseIpSettings. -
canEqual
Returnstrueif theseIpSettingscan possibly equal someotherobject. -
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
standard
Returns the defaultIpSettingsinstance. -
create
-
create
-
form
Returns the structuralFormofIpSettings.
-