scalaz.stream

nio

package nio

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. nio
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. lazy val DefaultAsynchronousChannelGroup: AsynchronousChannelGroup

  2. def connect(to: InetSocketAddress, reuseAddress: Boolean = true, sndBufferSize: Int = 256 * 1024, rcvBufferSize: Int = 256 * 1024, keepAlive: Boolean = false, noDelay: Boolean = false)(implicit AG: AsynchronousChannelGroup): Process[Task, Exchange[ByteVector, ByteVector]]

    Process that connects to remote server (TCP) and provides one exchange representing connection to that server

    Process that connects to remote server (TCP) and provides one exchange representing connection to that server

    to

    Address of remote server

    reuseAddress

    whether address has to be reused (@see java.net.StandardSocketOptions.SO_REUSEADDR)

    sndBufferSize

    size of send buffer (@see java.net.StandardSocketOptions.SO_SNDBUF)

    rcvBufferSize

    size of receive buffer (@see java.net.StandardSocketOptions.SO_RCVBUF)

    keepAlive

    whether keep-alive on tcp is used (@see java.net.StandardSocketOptions.SO_KEEPALIVE)

    noDelay

    whether tcp no-delay flag is set (@see java.net.StandardSocketOptions.TCP_NODELAY)

    returns

  3. object file

  4. def server(bind: InetSocketAddress, reuseAddress: Boolean = true, rcvBufferSize: Int = 256 * 1024)(implicit AG: AsynchronousChannelGroup): Process[Task, Process[Task, Exchange[ByteVector, ByteVector]]]

    Process that binds to supplied address and provides accepted exchanges representing incoming connections (TCP) with remote clients When this process terminates all the incoming exchanges will terminate as well

    Process that binds to supplied address and provides accepted exchanges representing incoming connections (TCP) with remote clients When this process terminates all the incoming exchanges will terminate as well

    bind

    address to which this process has to be bound

    reuseAddress

    whether address has to be reused (@see java.net.StandardSocketOptions.SO_REUSEADDR)

    rcvBufferSize

    size of receive buffer (@see java.net.StandardSocketOptions.SO_RCVBUF)

    returns

Inherited from AnyRef

Inherited from Any

Ungrouped