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
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- macro def exit[A](a: A): A
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- 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[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- 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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )