Packages

c

gopher.channels

SelectFactory

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
Known Subclasses
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)

Type Members

  1. trait SelectFactoryApi extends AnyRef
  2. type error = Throwable
  3. type timeout = FiniteDuration

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

    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]
  6. val api: GopherAPI
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. macro def exit[A](a: A): A
  12. macro def fold[S](s: S)(op: (S, Any) => S): S
  13. def forever: ForeverSelectorBuilder

    forever builder.

    forever builder.

    See also

    ForeverSelectorBuilder

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. macro def input[B](f: PartialFunction[Any, B]): Input[B]
  17. def inputBuilder[T](): InputSelectorBuilder[T]
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def loop[A]: SelectorBuilder[A]

    generic selector builder

  20. macro def map[B](f: (Any) => B): CloseableInput[B]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def once[T]: OnceSelectorBuilder[T]

    once builder, where case clause return type is T

  25. macro def shutdown(): Unit
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped