Class

gopher.channels

SelectFactory

Related Doc: package channels

Permalink

class SelectFactory extends AnyRef

Factory for select instantiation. Can be obtained via gopherAPI

val selector = gopherApi.select.forever
for(s <- selector) ...
Self Type
SelectFactory
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SelectFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SelectFactory(api: GopherAPI)

    Permalink

Type Members

  1. trait SelectFactoryApi extends AnyRef

    Permalink
  2. type timeout = FiniteDuration

    Permalink

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. macro def afold[S](s: S)(op: (S, Any) ⇒ S): Future[S]

    Permalink

    afold - asynchronious version of fold.

    afold - asynchronious version of fold.

    select.afold((0,1)) { (s,(x,y)) =>
      s match {
        case x: out.write => (y,x+y)
        case q: quit.read => select.exit((x,y))
      }
    }
  5. macro def amap[B](f: PartialFunction[Any, B]): Input[B]

    Permalink
  6. val api: GopherAPI

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. macro def exit[A](a: A): A

    Permalink
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. macro def fold[S](s: S)(op: (S, Any) ⇒ S): S

    Permalink
  14. def forever: ForeverSelectorBuilder

    Permalink

    forever builder.

    forever builder.

    See also

    ForeverSelectorBuilder

  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. macro def input[B](f: PartialFunction[Any, B]): Input[B]

    Permalink
  18. def inputBuilder[T](): InputSelectorBuilder[T]

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def loop[A]: SelectorBuilder[A]

    Permalink

    generic selector builder

  21. macro def map[B](f: (Any) ⇒ B): Input[B]

    Permalink
  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 once[T]: OnceSelectorBuilder[T]

    Permalink

    once builder, where case clause return type is T

  26. macro def shutdown(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped