Module swim.io
Package swim.io

Class IpSettings

  • All Implemented Interfaces:
    swim.codec.Debug

    public class IpSettings
    extends Object
    implements swim.codec.Debug
    IP Socket configuration parameters.
    • Method Detail

      • tcpSettings

        public TcpSettings tcpSettings()
        Returns the TCP socket configuration.
      • tcpSettings

        public IpSettings tcpSettings​(TcpSettings tcpSettings)
        Returns a copy of these IpSettings configured with the given tcpSettings.
      • tlsSettings

        public TlsSettings tlsSettings()
        Returns the TLS socket configuration.
      • tlsSettings

        public IpSettings tlsSettings​(TlsSettings tlsSettings)
        Returns a copy of these IpSettings configured with the given tlsSettings.
      • copy

        protected IpSettings copy​(TcpSettings tcpSettings,
                                  TlsSettings tlsSettings)
        Returns a new IpSettings instance with the given options. Subclasses may override this method to ensure the proper class is instantiated when updating settings.
      • toValue

        public swim.structure.Value toValue()
        Returns a structural Value representing these IpSettings.
      • canEqual

        public boolean canEqual​(Object other)
        Returns true if these IpSettings can possibly equal some other object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • debug

        public <T> swim.codec.Output<T> debug​(swim.codec.Output<T> output)
        Specified by:
        debug in interface swim.codec.Debug
      • standard

        public static IpSettings standard()
        Returns the default IpSettings instance.
      • form

        @Kind
        public static swim.structure.Form<IpSettings> form()
        Returns the structural Form of IpSettings.