Package

fs2.io

udp

Permalink

package udp

Provides support for UDP networking.

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

Type Members

  1. sealed trait AsynchronousSocketGroup extends AnyRef

    Permalink

    Supports read/write operations on an arbitrary number of UDP sockets using a shared selector thread.

    Supports read/write operations on an arbitrary number of UDP sockets using a shared selector thread.

    Each AsynchronousSocketGroup is assigned a single daemon thread that performs all read/write operations.

  2. final case class Packet(remote: InetSocketAddress, bytes: Chunk[Byte]) extends Product with Serializable

    Permalink

    A single packet to send to the specified remote address or received from the specified address.

    A single packet to send to the specified remote address or received from the specified address.

    remote

    remote party to send/receive packet to/from

    bytes

    data to send/receive

  3. sealed trait Socket[F[_]] extends AnyRef

    Permalink

    Provides the ability to read/write from a UDP socket in the effect F.

    Provides the ability to read/write from a UDP socket in the effect F.

    To construct a Socket, use the methods in the fs2.io.udp package object.

Value Members

  1. object AsynchronousSocketGroup

    Permalink
  2. object Socket

    Permalink

Deprecated Value Members

  1. def open[F[_]](address: InetSocketAddress = new InetSocketAddress(0), reuseAddress: Boolean = false, sendBufferSize: Option[Int] = None, receiveBufferSize: Option[Int] = None, allowBroadcast: Boolean = true, protocolFamily: Option[ProtocolFamily] = None, multicastInterface: Option[NetworkInterface] = None, multicastTTL: Option[Int] = None, multicastLoopback: Boolean = true)(implicit AG: AsynchronousSocketGroup, F: ConcurrentEffect[F]): Resource[F, Socket[F]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.1) Use fs2.io.udp.Socket(...) instead

Inherited from AnyRef

Inherited from Any

Ungrouped