class OutPort[A] extends Output[A]
- Alphabetic
- By Inheritance
- OutPort
- Output
- GopherAPIProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
macro
def
!(a: A): Unit
shortcut for blocking write.
shortcut for blocking write.
- Definition Classes
- Output
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def *!: Input[A]
-
macro
def
<~(a: A): Output[A]
shortcut for blocking write.
shortcut for blocking write.
- Definition Classes
- Output
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >~~>(x: InPort[A]): Unit
-
def
api: GopherAPI
- Definition Classes
- OutPort → Output → GopherAPIProvider
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
awrite(a: A): Future[A]
- Definition Classes
- Output
-
def
awriteAll[C <: Iterable[A]](c: C): Future[Unit]
- Definition Classes
- Output
-
def
cbwrite[B](f: (ContWrite[A, B]) ⇒ Option[(A, Future[Continuated[B]])], ft: FlowTermination[B]): Unit
apply f and send result to channels processor.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def connect(inPort: InPort[A], bufferSize: Int = 1): Unit
- def connect(x: Output[A]): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- def inputSide: Option[Input[A]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
pam[B](g: (B) ⇒ A): Output[B]
alias for premap
alias for premap
- Definition Classes
- Output
-
def
premap[C](g: (C) ⇒ A): Output[C]
before passing value to output, apply g to one.
before passing value to output, apply g to one.
- Definition Classes
- Output
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unfold[S](s: S)(f: (S) ⇒ (S, A)): Unit
- Definition Classes
- Output
- var v: Output[A]
-
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( ... )
-
def
withOutputTimeouts(timeout: FiniteDuration): (Output[A], Input[FiniteDuration])
provide pair from Output and Input
(ready, timeouts)
such that writing toready
will case writing tooutput
and if it was not completed during
timeoutstimeout
than appropriative duration will be availabe ininput.
provide pair from Output and Input
(ready, timeouts)
such that writing toready
will case writing tooutput
and if it was not completed during
timeoutstimeout
than appropriative duration will be availabe ininput.
val (chReady, chTimeouts) = ch withOutputTimeouts (5 seconds) select.forever { case x: chReady.write if (x==somethingToWrite) => Console.println(s" ${x} send") case t: chTimeouts.read => Console.println(s"timeout during writing") }
- Definition Classes
- Output
-
macro
def
write(a: A): A
'blocking' write of 'a' to channel.
'blocking' write of 'a' to channel. Note, that this method can be called only inside 'go' or 'async' blocks.
- Definition Classes
- Output
-
macro
def
writeAll[C <: Iterable[A]](it: C): Unit
- Definition Classes
- Output