Object

tuco.free

connection

Related Doc: package free

Permalink

object connection

Algebra and free monad for primitive operations over a net.wimpi.telnetd.net.Connection.

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

Type Members

  1. type ConnectionIO[A] = Free[ConnectionOp, A]

    Permalink

    Free monad over a free functor of ConnectionOp; abstractly, a computation that consumes a net.wimpi.telnetd.net.Connection and produces a value of type A.

  2. implicit class ConnectionIOOps[A] extends AnyRef

    Permalink

    Syntax for ConnectionIO.

  3. sealed trait ConnectionOp[A] extends AnyRef

    Permalink

    Sum type of primitive operations over a net.wimpi.telnetd.net.Connection.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ConnectionOp

    Permalink

    Module of constructors for ConnectionOp.

    Module of constructors for ConnectionOp. These are rarely useful outside of the implementation; prefer the smart constructors provided by the connection module.

  5. def addConnectionListener(a: ConnectionListener): ConnectionIO[Unit]

    Permalink

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def attempt[A](a: ConnectionIO[A]): ConnectionIO[Either[Throwable, A]]

    Permalink

    Lift a ConnectionIO[A] into an exception-capturing ConnectionIO[Throwable Either A].

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val close: ConnectionIO[Unit]

    Permalink

  10. def delay[A](a: ⇒ A): ConnectionIO[A]

    Permalink

    Non-strict unit for capturing effects.

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. val getConnectionData: ConnectionIO[ConnectionData]

    Permalink

  16. val getTerminalIO: ConnectionIO[BasicTerminalIO]

    Permalink

  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def interpK[M[_]](implicit arg0: Sync[M]): ~>[ConnectionOp, [γ$2$]Kleisli[M, Connection, γ$2$]]

    Permalink

    Natural transformation from ConnectionOp to Kleisli for the given M, consuming a net.wimpi.telnetd.net.Connection.

  19. val isActive: ConnectionIO[Boolean]

    Permalink

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def lift[Op[_], A, J](j: J, action: Free[Op, A])(implicit mod: Aux[Op, J]): ConnectionIO[A]

    Permalink

    Lift a different type of program that has a default Kleisli interpreter.

  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def processConnectionEvent(a: ConnectionEvent): ConnectionIO[Unit]

    Permalink

  26. def raw[A](f: (Connection) ⇒ A): ConnectionIO[A]

    Permalink

    Backdoor for arbitrary computations on the underlying Connection.

  27. def removeConnectionListener(a: ConnectionListener): ConnectionIO[Unit]

    Permalink

  28. val run: ConnectionIO[Unit]

    Permalink

  29. def setNextShell(a: String): ConnectionIO[Boolean]

    Permalink

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def trans[M[_]](c: Connection)(implicit arg0: Sync[M]): ~>[ConnectionIO, M]

    Permalink

    Natural transformation from ConnectionIO to M, given a net.wimpi.telnetd.net.Connection.

  33. def transK[M[_]](implicit arg0: Sync[M]): ~>[ConnectionIO, [γ$3$]Kleisli[M, Connection, γ$3$]]

    Permalink

    Natural transformation from ConnectionIO to Kleisli for the given M, consuming a net.wimpi.telnetd.net.Connection.

  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Algebra

Constructors (Lifting)

Constructors (Primitives)

Ungrouped