class SelectFactory extends AnyRef
Factory for select instantiation. Can be obtained via gopherAPI
val selector = gopherApi.select.forever for(s <- selector) ...
- Self Type
- SelectFactory
- Alphabetic
- By Inheritance
- SelectFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait SelectFactoryApi extends AnyRef
- type error = Throwable
- type timeout = FiniteDuration
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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)) } }
- macro def amap[B](f: PartialFunction[Any, B]): Input[B]
- val api: GopherAPI
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- macro def exit[A](a: A): A
- macro def fold[S](s: S)(op: (S, Any) => S): S
- def forever: ForeverSelectorBuilder
forever builder.
forever builder.
- See also
ForeverSelectorBuilder
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- macro def input[B](f: PartialFunction[Any, B]): Input[B]
- def inputBuilder[T](): InputSelectorBuilder[T]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loop[A]: SelectorBuilder[A]
generic selector builder
- macro def map[B](f: (Any) => B): CloseableInput[B]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def once[T]: OnceSelectorBuilder[T]
once builder, where case clause return type is
T
- macro def shutdown(): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated