object net

Module for refined types that are related to the Internet protocol suite.

Source
net.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. net
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type DynamicPortNumber = Refined[Int, Closed[Int(49152), Int(65535)]]

    An Int in the range from 49152 to 65535 representing a port number.

  2. type NonSystemPortNumber = Refined[Int, Closed[Int(1024), Int(65535)]]

    An Int in the range from 1024 to 65535 representing a port number.

  3. type PortNumber = Refined[Int, Closed[Int(0), Int(65535)]]

    An Int in the range from 0 to 65535 representing a port number.

  4. type PrivateNetwork = Refined[String, Or[Or[Or[Rfc1918PrivateSpec, Rfc5737TestnetSpec], Rfc3927LocalLinkSpec], Rfc2544BenchmarkSpec]]

    A String representing a valid IPv4 in a private network according to RFC1918, RFC5737, RFC3927 or RFC2544

  5. type Rfc1918ClassAPrivate = Refined[String, Rfc1918ClassAPrivateSpec]

    A String representing a valid IPv4 in the private network 10.0.0.0/8 (RFC1918)

  6. type Rfc1918ClassBPrivate = Refined[String, Rfc1918ClassBPrivateSpec]

    A String representing a valid IPv4 in the private network 172.15.0.0/12 (RFC1918)

  7. type Rfc1918ClassCPrivate = Refined[String, Rfc1918ClassCPrivateSpec]

    A String representing a valid IPv4 in the private network 192.168.0.0/16 (RFC1918)

  8. type Rfc1918Private = Refined[String, Rfc1918PrivateSpec]

    A String representing a valid IPv4 in a private network according to RFC1918

  9. type Rfc2544Benchmark = Refined[String, Rfc2544BenchmarkSpec]

    A String representing a valid IPv4 in the benchmarking network 198.18.0.0/15 (RFC2544)

  10. type Rfc3927LocalLink = Refined[String, Rfc3927LocalLinkSpec]

    A String representing a valid IPv4 in the local link network 169.254.0.0/16 (RFC3927)

  11. type Rfc5737Testnet = Refined[String, Rfc5737TestnetSpec]

    A String representing a valid IPv4 in a private network according to RFC5737

  12. type Rfc5737Testnet1 = Refined[String, Rfc5737Testnet1Spec]

    A String representing a valid IPv4 in the private network 192.0.2.0/24 (RFC5737)

  13. type Rfc5737Testnet2 = Refined[String, Rfc5737Testnet2Spec]

    A String representing a valid IPv4 in the private network 198.51.100.0/24 (RFC5737)

  14. type Rfc5737Testnet3 = Refined[String, Rfc5737Testnet3Spec]

    A String representing a valid IPv4 in the private network 203.0.113.0/24 (RFC5737)

  15. type SystemPortNumber = Refined[Int, Closed[Int(0), Int(1023)]]

    An Int in the range from 0 to 1023 representing a port number.

  16. type UserPortNumber = Refined[Int, Closed[Int(1024), Int(49151)]]

    An Int in the range from 1024 to 49151 representing a port number.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  20. object DynamicPortNumber extends RefinedTypeOps[DynamicPortNumber, Int]
  21. object NonSystemPortNumber extends RefinedTypeOps[NonSystemPortNumber, Int]
  22. object PortNumber extends RefinedTypeOps[PortNumber, Int]
  23. object PrivateNetworks
  24. object SystemPortNumber extends RefinedTypeOps[SystemPortNumber, Int]
  25. object UserPortNumber extends RefinedTypeOps[UserPortNumber, Int]

Inherited from AnyRef

Inherited from Any

Ungrouped