Instance Constructors
-
new
InputSelectorBuilder(api: GopherAPI)
Type Members
-
type
<~ = T
-
-
-
-
-
case class
Read(value: A) extends Product with Serializable
-
type
done = Unit
-
type
read = T
-
type
timeout = FiniteDuration
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
macro
def
?: T
-
macro
def
afold[S, B](s0: S)(f: (S, T) ⇒ S): Future[S]
-
def
afoldAsync[S, B](s0: S)(f: (S, T) ⇒ Future[S])(implicit ec: ExecutionContext): Future[S]
-
def
afoldSync[S, B](s0: S)(f: (S, T) ⇒ S): Future[S]
-
macro
def
aforeach(f: (T) ⇒ Unit): Future[Unit]
-
def
amap[B](g: (T) ⇒ Future[B]): Input[B]
-
-
def
append(other: Input[T]): Input[T]
-
macro
def
apply(f: PartialFunction[Any, T]): Future[T]
-
def
applyDone[B](cr: ContRead[Unit, B]): Unit
-
def
aread: Future[T]
-
final
def
asInstanceOf[T0]: T0
-
def
async: AnyRef { ... /* 3 definitions in type refinement */ }
-
def
atake(n: Int): Future[IndexedSeq[T]]
-
-
def
clone(): AnyRef
-
lazy val
closeless: Input[T]
-
val
done: Input[Unit]
-
def
dup(): (Input[T], Input[T])
-
implicit
def
ec: ExecutionContext
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filter(p: (T) ⇒ Boolean): CloseableInput[T]
-
def
finalize(): Unit
-
def
flatFold(fun: (Input[T], T) ⇒ Input[T]): Input[T]
-
def
flatMap[B](g: (T) ⇒ Input[B]): Input[B]
-
def
flatMapOp[B](g: (T) ⇒ Input[B])(op: (Input[B], Input[B]) ⇒ Input[B]): Input[B]
-
macro
def
fold[S, B](s0: S)(f: (S, T) ⇒ S): S
-
macro
def
foreach(f: (Any) ⇒ T): T
-
macro
def
foreach(f: (T) ⇒ Unit): Unit
-
def
foreachAsync(f: (T) ⇒ Future[Unit])(implicit ec: ExecutionContext): Future[Unit]
-
def
foreachSync(f: (T) ⇒ Unit): Future[Unit]
-
def
futureInput[A](f: Future[A]): FutureInput[A]
-
final
def
getClass(): Class[_]
-
final
def
go: Future[T @scala.annotation.unchecked.uncheckedVariance]
-
macro
def
handleError(f: (Throwable) ⇒ T): InputSelectorBuilder[T]
-
def
handleErrorWithFlowTerminationAsync(f: (ExecutionContext, FlowTermination[T], Continuated[T], Throwable) ⇒ Future[T]): InputSelectorBuilder.this.type
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
-
def
onRead[E](ch: Input[E])(arg: ReadSelectorArgument[E, T @scala.annotation.unchecked.uncheckedVariance]): InputSelectorBuilder.this.type
-
def
onTimeout(t: FiniteDuration)(arg: SkipSelectorArgument[T @scala.annotation.unchecked.uncheckedVariance]): InputSelectorBuilder.this.type
-
-
def
or(other: Input[T]): Input[T]
-
def
prepend(a: T): Input[T]
-
-
macro
def
read: T
-
-
def
readingWithFlowTerminationAsync[A](ch: Input[A], f: (ExecutionContext, FlowTermination[T], A) ⇒ Future[T]): InputSelectorBuilder[T]
-
val
selector: Selector[T]
-
def
selectorRun: Future[T @scala.annotation.unchecked.uncheckedVariance]
-
def
seq: AnyRef { def flatMap[B](g: T => gopher.channels.Input[B]): gopher.channels.Input[B] }
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
val
terminated: AtomicBoolean
-
macro
def
timeout(t: FiniteDuration)(f: (FiniteDuration) ⇒ T): InputSelectorBuilder[T]
-
def
timeoutWithFlowTerminationAsync(t: FiniteDuration, f: (ExecutionContext, FlowTermination[T], FiniteDuration) ⇒ Future[T]): InputSelectorBuilder.this.type
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withError(f: (ExecutionContext, FlowTermination[T @scala.annotation.unchecked.uncheckedVariance], Continuated[T @scala.annotation.unchecked.uncheckedVariance], Throwable) ⇒ Future[Continuated[T @scala.annotation.unchecked.uncheckedVariance]]): InputSelectorBuilder.this.type
-
def
withFilter(p: (T) ⇒ Boolean): Input[T]
-
def
withIdle(f: (Skip[T @scala.annotation.unchecked.uncheckedVariance]) ⇒ Option[Future[Continuated[T @scala.annotation.unchecked.uncheckedVariance]]]): InputSelectorBuilder.this.type
-
def
withInputTimeouts(timeout: FiniteDuration): (Input[T], Input[FiniteDuration])
-
def
withReader[B](ch: Input[B], f: (ContRead[B, T @scala.annotation.unchecked.uncheckedVariance]) ⇒ Option[(In[B]) ⇒ Future[Continuated[T @scala.annotation.unchecked.uncheckedVariance]]]): InputSelectorBuilder.this.type
-
def
withTimeout(t: FiniteDuration)(f: (Skip[T @scala.annotation.unchecked.uncheckedVariance]) ⇒ Option[Future[Continuated[T @scala.annotation.unchecked.uncheckedVariance]]]): InputSelectorBuilder.this.type
-
def
withWriter[B](ch: Output[B], f: (ContWrite[B, T @scala.annotation.unchecked.uncheckedVariance]) ⇒ Option[(B, Future[Continuated[T @scala.annotation.unchecked.uncheckedVariance]])]): InputSelectorBuilder.this.type
-
-
def
writingWithFlowTerminationAsync[A](ch: Output[A], x: ⇒ A, f: (ExecutionContext, FlowTermination[T], A) ⇒ Future[T]): InputSelectorBuilder.this.type
-
def
zip[B](x: Input[B]): Input[(T, B)]
-
def
zip[B](x: Iterable[B]): Input[(T, B)]
-
def
|(other: Input[T]): Input[T]
Inherited from SelectorBuilder[T @scala.annotation.unchecked.uncheckedVariance]
Inherited from AnyRef
Inherited from Any
Builder for 'input' selector. Can be obtained as
gopherApi.select.input
. or map of forever selector.