java.lang.Object
swim.io.IpSettings
- All Implemented Interfaces:
swim.codec.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> swim.codec.Output<T>debug(swim.codec.Output<T> output) booleanstatic swim.structure.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()swim.structure.ValuetoValue()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
public swim.structure.Value toValue()Returns a structuralValuerepresenting theseIpSettings. -
canEqual
Returnstrueif theseIpSettingscan possibly equal someotherobject. -
equals
-
hashCode
public int hashCode() -
debug
public <T> swim.codec.Output<T> debug(swim.codec.Output<T> output) - Specified by:
debugin interfaceswim.codec.Debug
-
toString
-
standard
Returns the defaultIpSettingsinstance. -
create
-
create
-
form
Returns the structuralFormofIpSettings.
-